Skip to content

Commit a5c34aa

Browse files
Merge pull request #29 from basics/feature/git-actions-update
Feature/git actions update
2 parents 89738a3 + 3c8ed85 commit a5c34aa

File tree

7 files changed

+105
-94
lines changed

7 files changed

+105
-94
lines changed

.github/workflows/beta.yml

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@ on:
44
push:
55
branches:
66
- beta
7-
pull_request:
8-
types:
9-
- opened
10-
- reopened
11-
- edited
12-
- synchronize
13-
branches:
14-
- beta
157

168
concurrency:
179
group: ${{ github.workflow }}-${{ github.ref }}
@@ -58,36 +50,9 @@ jobs:
5850
name: vitest-code-coverage-report
5951
path: ./coverage/
6052

61-
sonarcloud:
62-
name: SonarCloud
63-
needs: install
64-
runs-on: ${{ matrix.os }}
65-
66-
strategy:
67-
matrix:
68-
os: [ubuntu-latest]
69-
node: [20]
70-
71-
steps:
72-
- uses: actions/checkout@v4
73-
with:
74-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
75-
- name: Download vitest code coverage results
76-
uses: actions/download-artifact@v4
77-
with:
78-
name: vitest-code-coverage-report
79-
path: ./coverage/
80-
- name: check
81-
run: cd coverage && find .
82-
- name: SonarCloud Scan
83-
uses: SonarSource/sonarcloud-github-action@master
84-
env:
85-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
86-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
87-
8853
semantic-version:
8954
name: Semantic Release
90-
needs: sonarcloud
55+
needs: install
9156
runs-on: ${{ matrix.os }}
9257

9358
strategy:
@@ -114,3 +79,30 @@ jobs:
11479
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11580
run: |
11681
npm run release
82+
83+
sonarcloud:
84+
name: SonarCloud
85+
needs: semantic-version
86+
runs-on: ${{ matrix.os }}
87+
88+
strategy:
89+
matrix:
90+
os: [ubuntu-latest]
91+
node: [20]
92+
93+
steps:
94+
- uses: actions/checkout@v4
95+
with:
96+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
97+
- name: Download vitest code coverage results
98+
uses: actions/download-artifact@v4
99+
with:
100+
name: vitest-code-coverage-report
101+
path: ./coverage/
102+
- name: check
103+
run: cd coverage && find .
104+
- name: SonarCloud Scan
105+
uses: SonarSource/sonarcloud-github-action@master
106+
env:
107+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
108+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/main.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -50,32 +50,6 @@ jobs:
5050
name: vitest-code-coverage-report
5151
path: ./coverage/
5252

53-
sonarcloud:
54-
name: SonarCloud
55-
runs-on: ${{ matrix.os }}
56-
57-
strategy:
58-
matrix:
59-
os: [ubuntu-latest]
60-
node: [20]
61-
62-
steps:
63-
- uses: actions/checkout@v4
64-
with:
65-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
66-
- name: Download vitest code coverage results
67-
uses: actions/download-artifact@v4
68-
with:
69-
name: vitest-code-coverage-report
70-
path: ./coverage/
71-
- name: check
72-
run: cd coverage && find .
73-
- name: SonarCloud Scan
74-
uses: SonarSource/sonarcloud-github-action@master
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
77-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
78-
7953
semantic-version:
8054
name: Semantic Release
8155
needs: install
@@ -106,3 +80,29 @@ jobs:
10680
run: |
10781
npm run release
10882
83+
sonarcloud:
84+
name: SonarCloud
85+
needs: semantic-version
86+
runs-on: ${{ matrix.os }}
87+
88+
strategy:
89+
matrix:
90+
os: [ubuntu-latest]
91+
node: [20]
92+
93+
steps:
94+
- uses: actions/checkout@v4
95+
with:
96+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
97+
- name: Download vitest code coverage results
98+
uses: actions/download-artifact@v4
99+
with:
100+
name: vitest-code-coverage-report
101+
path: ./coverage/
102+
- name: check
103+
run: cd coverage && find .
104+
- name: SonarCloud Scan
105+
uses: SonarSource/sonarcloud-github-action@master
106+
env:
107+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
108+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/pull_request.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -82,33 +82,3 @@ jobs:
8282
env:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
8484
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
85-
86-
semantic-version:
87-
name: Semantic Release
88-
needs: sonarcloud
89-
runs-on: ${{ matrix.os }}
90-
91-
strategy:
92-
matrix:
93-
os: [ubuntu-latest]
94-
node: [20]
95-
96-
steps:
97-
- uses: actions/setup-node@v4
98-
with:
99-
node-version: ${{ matrix.node }}
100-
- name: Checkout Repo
101-
uses: actions/checkout@v4
102-
- name: cache node_modules
103-
uses: actions/cache@v4
104-
id: cache
105-
with:
106-
path: node_modules
107-
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
108-
- name: Versioning
109-
env:
110-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
111-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
113-
run: |
114-
npm run release

packages/observables/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Project Changelog
22

3+
# @rxjs-collection/observables-v1.0.0 (2024-09-16)
4+
5+
6+
### Bug Fixes
7+
8+
* **dom/window:** fixed mockreset status ([cdc5dae](https://github.com/basics/rxjs-collection/commit/cdc5dae2fe8f386b2477a177febafba6a256f2b3))
9+
* **git-workflow:** added yml for main and beta ([8fda8d9](https://github.com/basics/rxjs-collection/commit/8fda8d9e1553e1d1a1684895d563aa67164e922b))
10+
* **mocha:** added async event marble test ([f8e5bdb](https://github.com/basics/rxjs-collection/commit/f8e5bdbc5d7f0fd2498f9a16f851bdbda4ae7a79))
11+
* **mocha:** first test with mocked data ([e1344d9](https://github.com/basics/rxjs-collection/commit/e1344d9600a2e95281e7ac1a0ada6bc1de6c598b))
12+
* **mocha:** fixed async prob in first test ([a5ba14e](https://github.com/basics/rxjs-collection/commit/a5ba14eb69563ece06518a7ba4403e77d71200fa))
13+
* **mocha:** renamed mockFunctions ([f59866f](https://github.com/basics/rxjs-collection/commit/f59866f0427ce0f46bb588c2e69d85ec61dfc22c))
14+
* **mocha:** updated setup ([793c14f](https://github.com/basics/rxjs-collection/commit/793c14fe9a87e209894da30d5ccaeb7dfd0ffdc3))
15+
* **packages:** removed private attr in package.json ([ed66028](https://github.com/basics/rxjs-collection/commit/ed660284cef613a71527f510039d6988c32a2735))
16+
* **security-hotspot:** cleanup ([#21](https://github.com/basics/rxjs-collection/issues/21)) ([d96c3dc](https://github.com/basics/rxjs-collection/commit/d96c3dc061e40210475f86c06a5c8a431aedf44e))
17+
* **semver:** implemented monorepo config & workflow ([d73a02b](https://github.com/basics/rxjs-collection/commit/d73a02b2211fe81c82bc0baf686945dc1bc77237))
18+
* **semver:** prevent npm publish ([1c3e233](https://github.com/basics/rxjs-collection/commit/1c3e233135bcf56335c9fd39a53b20b15bf07112))
19+
* **test:** added successful empty run in package json ([6c237cf](https://github.com/basics/rxjs-collection/commit/6c237cfa30a82184a958f0c61a9301b224f9ae83))
20+
* **test:** switched from mocha to vitest ([52425e1](https://github.com/basics/rxjs-collection/commit/52425e1c7a73d066bdcd8fbfa44cb994bc93835c))
21+
* **vitest:** added test cases ([7c3a090](https://github.com/basics/rxjs-collection/commit/7c3a090f1e80b015bfbcdd7214334528d5701eb6))
22+
23+
24+
### Features
25+
26+
* **setup:** init ([a01e5e3](https://github.com/basics/rxjs-collection/commit/a01e5e3e444717bf0de8031e32001a4af6386afb))
27+
328
# [@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)
429

530

packages/observables/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rxjs-collection/observables",
3-
"version": "1.0.0-beta.5",
3+
"version": "1.0.0",
44
"description": "rxjs observables",
55
"license": "MIT",
66
"contributors": [

packages/operators/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Project Changelog
22

3+
# @rxjs-collection/operators-v1.0.0 (2024-09-16)
4+
5+
6+
### Bug Fixes
7+
8+
* **git-workflow:** added yml for main and beta ([8fda8d9](https://github.com/basics/rxjs-collection/commit/8fda8d9e1553e1d1a1684895d563aa67164e922b))
9+
* **mocha:** restructured test folder ([ff621f2](https://github.com/basics/rxjs-collection/commit/ff621f2c817a041a590f9c12ba514028eea1e9ef))
10+
* **mocha:** updated setup ([793c14f](https://github.com/basics/rxjs-collection/commit/793c14fe9a87e209894da30d5ccaeb7dfd0ffdc3))
11+
* **operators:** added initial mocha setup ([756c589](https://github.com/basics/rxjs-collection/commit/756c589699ac590ecdc6d00c523df657baeaa1c1))
12+
* **packages:** removed private attr in package.json ([ed66028](https://github.com/basics/rxjs-collection/commit/ed660284cef613a71527f510039d6988c32a2735))
13+
* **semver:** implemented monorepo config & workflow ([d73a02b](https://github.com/basics/rxjs-collection/commit/d73a02b2211fe81c82bc0baf686945dc1bc77237))
14+
* **semver:** prevent npm publish ([1c3e233](https://github.com/basics/rxjs-collection/commit/1c3e233135bcf56335c9fd39a53b20b15bf07112))
15+
* **semver:** test ([455516b](https://github.com/basics/rxjs-collection/commit/455516b22a1cd24405aa06777a86f2e1b44fd7fb))
16+
* **test:** added forgotten successful empty runs ([7304362](https://github.com/basics/rxjs-collection/commit/7304362c7a9b79ecbb7dd6dfd12c478f5d0cdc18))
17+
* **test:** corrected outline ([f214cd1](https://github.com/basics/rxjs-collection/commit/f214cd143c0dd417798d49faca41bbbc8b55cc11))
18+
* **test:** switched from mocha to vitest ([52425e1](https://github.com/basics/rxjs-collection/commit/52425e1c7a73d066bdcd8fbfa44cb994bc93835c))
19+
* **vitest:** added test cases ([7c3a090](https://github.com/basics/rxjs-collection/commit/7c3a090f1e80b015bfbcdd7214334528d5701eb6))
20+
* **vitest:** workspace coverage ([e2ed1ec](https://github.com/basics/rxjs-collection/commit/e2ed1ec12aea8342f768b4f3fb17789ddf7a6208))
21+
22+
23+
### Features
24+
25+
* **setup:** init ([a01e5e3](https://github.com/basics/rxjs-collection/commit/a01e5e3e444717bf0de8031e32001a4af6386afb))
26+
327
# [@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)
428

529

packages/operators/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rxjs-collection/operators",
3-
"version": "1.0.0-beta.5",
3+
"version": "1.0.0",
44
"description": "rxjs operators",
55
"license": "MIT",
66
"contributors": [

0 commit comments

Comments
 (0)