Skip to content

Commit

Permalink
Beta (#24)
Browse files Browse the repository at this point in the history
* chore(deps): pin dependencies

* fix(semver): test

* fix(semver): test

* fix(semver): test

* fix(semver): implemented monorepo config & workflow

* chore(release): 1.0.0-beta.1 [skip ci]

# @rxjs-collection/operators-v1.0.0-beta.1 (2024-09-09)

### Bug Fixes

* **git-workflow:** added yml for main and beta ([8fda8d9](8fda8d9))
* **semver:** implemented monorepo config & workflow ([d73a02b](d73a02b))
* **semver:** test ([455516b](455516b))
* **test:** added forgotten successful empty runs ([7304362](7304362))

### Features

* **setup:** init ([a01e5e3](a01e5e3))

* chore(release): 1.0.0-beta.1 [skip ci]

# @rxjs-collection/observables-v1.0.0-beta.1 (2024-09-09)

### Bug Fixes

* **git-workflow:** added yml for main and beta ([8fda8d9](8fda8d9))
* **semver:** implemented monorepo config & workflow ([d73a02b](d73a02b))
* **test:** added successful empty run in package json ([6c237cf](6c237cf))

### Features

* **setup:** init ([a01e5e3](a01e5e3))

* fix(semver): prevent npm publish

* chore(release): 1.0.0-beta.2 [skip ci]

# [@rxjs-collection/operators-v1.0.0-beta.2](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/operators-v1.0.0-beta.1...@rxjs-collection/operators-v1.0.0-beta.2) (2024-09-09)

### Bug Fixes

* **semver:** prevent npm publish ([1c3e233](1c3e233))

* chore(release): 1.0.0-beta.2 [skip ci]

# [@rxjs-collection/observables-v1.0.0-beta.2](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.0-beta.1...@rxjs-collection/observables-v1.0.0-beta.2) (2024-09-09)

### Bug Fixes

* **semver:** prevent npm publish ([1c3e233](1c3e233))

* fix(packages): removed private attr in package.json

* chore(release): 1.0.0-beta.3 [skip ci]

# [@rxjs-collection/operators-v1.0.0-beta.3](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/operators-v1.0.0-beta.2...@rxjs-collection/operators-v1.0.0-beta.3) (2024-09-09)

### Bug Fixes

* **packages:** removed private attr in package.json ([ed66028](ed66028))

* chore(release): 1.0.0-beta.3 [skip ci]

# [@rxjs-collection/observables-v1.0.0-beta.3](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.0-beta.2...@rxjs-collection/observables-v1.0.0-beta.3) (2024-09-09)

### Bug Fixes

* **packages:** removed private attr in package.json ([ed66028](ed66028))

* chore(deps): pin dependency semantic-release to 24.1.0

* fix(renovate): updated config

* chore(project): small cleanup

* chore(deps): pin dependency rxjs to 7.8.1

* feat(sonarcloud): added to github actions

* chore(deps): update actions/checkout action to v4

* fix(sonarcloud): added forgotten os strategy

* fix(project): added badges to readme

* fix(operators): added initial mocha setup

* fix(mocha): updated setup

* fix(mocha): first test with mocked data

* fix(mocha): fixed async prob in first test

* fix(mocha): renamed mockFunctions

* fix(mocha): restructured test folder

* fix(test): corrected outline

* chore(deps): update dependency husky to v9.1.6

* chore(deps): update dependency semantic-release to v24.1.1

* chore(deps): update dependency @commitlint/config-conventional to v19.5.0

* chore(deps): update dependency commitlint to v19.5.0

* fix(mocha): added async event marble test

* fix(test): switched from mocha to vitest

* fix(dom/window): fixed mockreset status

* fix(vitest): added test cases

* fix(package-lock): update

* chore(deps): update dependency @semantic-release/github to v10.3.4

* chore(release): 1.0.0-beta.4 [skip ci]

# [@rxjs-collection/operators-v1.0.0-beta.4](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/operators-v1.0.0-beta.3...@rxjs-collection/operators-v1.0.0-beta.4) (2024-09-15)

### Bug Fixes

* **mocha:** restructured test folder ([ff621f2](ff621f2))
* **mocha:** updated setup ([793c14f](793c14f))
* **operators:** added initial mocha setup ([756c589](756c589))
* **test:** corrected outline ([f214cd1](f214cd1))
* **test:** switched from mocha to vitest ([52425e1](52425e1))
* **vitest:** added test cases ([7c3a090](7c3a090))

* chore(release): 1.0.0-beta.4 [skip ci]

# [@rxjs-collection/observables-v1.0.0-beta.4](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.0-beta.3...@rxjs-collection/observables-v1.0.0-beta.4) (2024-09-15)

### Bug Fixes

* **dom/window:** fixed mockreset status ([cdc5dae](cdc5dae))
* **mocha:** added async event marble test ([f8e5bdb](f8e5bdb))
* **mocha:** first test with mocked data ([e1344d9](e1344d9))
* **mocha:** fixed async prob in first test ([a5ba14e](a5ba14e))
* **mocha:** renamed mockFunctions ([f59866f](f59866f))
* **mocha:** updated setup ([793c14f](793c14f))
* **test:** switched from mocha to vitest ([52425e1](52425e1))
* **vitest:** added test cases ([7c3a090](7c3a090))

* fix(sonarcloud+action): added new rules

* fix(vitest): workspace coverage

* chore(release): 1.0.0-beta.5 [skip ci]

# [@rxjs-collection/operators-v1.0.0-beta.5](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/operators-v1.0.0-beta.4...@rxjs-collection/operators-v1.0.0-beta.5) (2024-09-15)

### Bug Fixes

* **vitest:** workspace coverage ([e2ed1ec](e2ed1ec))

* chore(deps): pin dependencies

* chore(deps): update dependency semantic-release to v24.1.1

* chore(deps): lock file maintenance (#17)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(action): modified workflow for beta (#18)

* fix(action): modified workflow for beta

* fix(action): embedded test & coverage

* fix(action): rename process

* fix(action): rerun workflow if pr was edited

* fix(action): upload & download coverage artifact

* fix(action): artifact build fix

* fix(action): added new coverage reporter

* fix(action): run beta on sync

* fix(vitest): added lcov as coverage reporter

* fix(sonarcloud): added vitest lcov report to sonar

* fix(action): test

* fix(action): test

* fix(action): test

* fix(action): download coverage to folder

* fix(action): test

* fix(readme): added some todos (#19)

* fix(security-hotspot): cleanup (#21)

* chore(release): 1.0.0-beta.5 [skip ci]

# [@rxjs-collection/observables-v1.0.0-beta.5](https://github.com/basics/rxjs-collection/compare/@rxjs-collection/observables-v1.0.0-beta.4...@rxjs-collection/observables-v1.0.0-beta.5) (2024-09-16)

### Bug Fixes

* **security-hotspot:** cleanup ([#21](#21)) ([d96c3dc](d96c3dc))

* Feature/pr (#23)

* fix(git-action): modified and added actions

* fix(git-action): updated main workflow

* fix(action): Update pull_request.yml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: semantic-release-bot <[email protected]>
  • Loading branch information
3 people authored Sep 16, 2024
1 parent d38881a commit 412251a
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,40 @@ jobs:
- name: Lint
run: npm run lint

- name: Test
run: npm run test
- name: Vitest - Test & Coverage
run: npm run coverage

- name: Archive vitest code coverage results
uses: actions/upload-artifact@v4
with:
name: vitest-code-coverage-report
path: ./coverage/

sonarcloud:
name: SonarCloud
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [20]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Download vitest code coverage results
uses: actions/download-artifact@v4
with:
name: vitest-code-coverage-report
path: ./coverage/
- name: check
run: cd coverage && find .
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonarcloud:
name: SonarCloud
Expand Down
114 changes: 114 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: PullRequest

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
branches:
- beta
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
install:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: Install
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [20]

steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Checkout Repo
uses: actions/checkout@v4
- name: cache node_modules
uses: actions/cache@v4
id: cache
with:
path: |
node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}

- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci

- name: Lint
run: npm run lint

- name: Vitest - Test & Coverage
run: npm run coverage

- name: Archive vitest code coverage results
uses: actions/upload-artifact@v4
with:
name: vitest-code-coverage-report
path: ./coverage/

sonarcloud:
name: SonarCloud
needs: install
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [20]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Download vitest code coverage results
uses: actions/download-artifact@v4
with:
name: vitest-code-coverage-report
path: ./coverage/
- name: check
run: cd coverage && find .
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

semantic-version:
name: Semantic Release
needs: sonarcloud
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [20]

steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Checkout Repo
uses: actions/checkout@v4
- name: cache node_modules
uses: actions/cache@v4
id: cache
with:
path: node_modules
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
- name: Versioning
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm run release

0 comments on commit 412251a

Please sign in to comment.