Skip to content

Commit 29b46d0

Browse files
fix(git-action): cleanup
1 parent 78512b8 commit 29b46d0

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.github/workflows/beta.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
- uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node }}
27+
2728
- name: Checkout Repo
2829
uses: actions/checkout@v4
30+
2931
- name: cache node_modules
3032
uses: actions/cache@v4
3133
id: cache
@@ -64,14 +66,17 @@ jobs:
6466
- uses: actions/setup-node@v4
6567
with:
6668
node-version: ${{ matrix.node }}
69+
6770
- name: Checkout Repo
6871
uses: actions/checkout@v4
72+
6973
- name: cache node_modules
7074
uses: actions/cache@v4
7175
id: cache
7276
with:
7377
path: node_modules
7478
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
79+
7580
- name: Versioning
7681
env:
7782
GH_TOKEN: ${{ secrets.GH_TOKEN }}
@@ -94,13 +99,13 @@ jobs:
9499
- uses: actions/checkout@v4
95100
with:
96101
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
102+
97103
- name: Download vitest code coverage results
98104
uses: actions/download-artifact@v4
99105
with:
100106
name: vitest-code-coverage-report
101107
path: ./coverage/
102-
- name: check
103-
run: cd coverage && find .
108+
104109
- name: SonarCloud Scan
105110
uses: SonarSource/sonarcloud-github-action@master
106111
env:

.github/workflows/feature.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
- uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node }}
27+
2728
- name: Checkout Repo
2829
uses: actions/checkout@v4
30+
2931
- name: cache node_modules
3032
uses: actions/cache@v4
3133
id: cache
@@ -64,13 +66,13 @@ jobs:
6466
- uses: actions/checkout@v4
6567
with:
6668
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
69+
6770
- name: Download vitest code coverage results
6871
uses: actions/download-artifact@v4
6972
with:
7073
name: vitest-code-coverage-report
7174
path: ./coverage/
72-
- name: check
73-
run: cd coverage && find .
75+
7476
- name: SonarCloud Scan
7577
uses: SonarSource/sonarcloud-github-action@master
7678
env:

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
- uses: actions/setup-node@v4
2525
with:
2626
node-version: ${{ matrix.node }}
27+
2728
- name: Checkout Repo
2829
uses: actions/checkout@v4
30+
2931
- name: cache node_modules
3032
uses: actions/cache@v4
3133
id: cache
@@ -64,14 +66,17 @@ jobs:
6466
- uses: actions/setup-node@v4
6567
with:
6668
node-version: ${{ matrix.node }}
69+
6770
- name: Checkout Repo
6871
uses: actions/checkout@v4
72+
6973
- name: cache node_modules
7074
uses: actions/cache@v4
7175
id: cache
7276
with:
7377
path: node_modules
7478
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
79+
7580
- name: Versioning
7681
env:
7782
GH_TOKEN: ${{ secrets.GH_TOKEN }}
@@ -94,13 +99,13 @@ jobs:
9499
- uses: actions/checkout@v4
95100
with:
96101
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
102+
97103
- name: Download vitest code coverage results
98104
uses: actions/download-artifact@v4
99105
with:
100106
name: vitest-code-coverage-report
101107
path: ./coverage/
102-
- name: check
103-
run: cd coverage && find .
108+
104109
- name: SonarCloud Scan
105110
uses: SonarSource/sonarcloud-github-action@master
106111
env:

0 commit comments

Comments
 (0)