Skip to content

Commit 7da04f3

Browse files
committed
chore: sync changes
1 parent 78eb2a7 commit 7da04f3

File tree

3 files changed

+8
-52
lines changed

3 files changed

+8
-52
lines changed

.github/workflows/analyse.yml

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -158,48 +158,4 @@ jobs:
158158
run: npm ci
159159

160160
- name: Run tests
161-
run: npm run test -- --coverage --runInBand --no-cache
162-
163-
- name: Cache coverage
164-
id: coverage-cache
165-
uses: actions/cache/save@v4
166-
with:
167-
path: coverage
168-
key: coverage-${{ runner.os }}-${{hashFiles('coverage/lcov.info')}}
169-
170-
coverage:
171-
name: Coverage
172-
runs-on: ubuntu-latest
173-
needs: test
174-
steps:
175-
- name: Checkout
176-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
177-
with:
178-
fetch-depth: 0
179-
180-
- name: Setup Node.js
181-
uses: actions/setup-node@v4
182-
with:
183-
node-version: 18
184-
185-
- name: Restore modules
186-
id: npm-modules-cache
187-
uses: actions/cache/restore@v4
188-
with:
189-
path: node_modules
190-
key: npm-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
191-
192-
- name: Install modules
193-
if: steps.npm-modules-cache.outputs.cache-hit != 'true'
194-
run: npm ci
195-
196-
- name: Restore coverage
197-
id: coverage-cache
198-
uses: actions/cache/restore@v4
199-
with:
200-
path: coverage
201-
key: coverage-${{ runner.os }}-${{hashFiles('coverage/lcov.info')}}
202-
restore-keys: coverage-${{ runner.os }}-
203-
204-
- name: Send coverage report
205-
run: npx codecov
161+
run: npm run test -- --runInBand --no-cache

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Release
32

43
on:
@@ -31,19 +30,20 @@ jobs:
3130
npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
3231
npm-${{ runner.os }}-
3332

34-
- name: Install modules
35-
if: steps.npm-modules-cache.outputs.cache-hit != 'true'
36-
run: npm ci
37-
3833
- name: Cache modules
3934
id: npm-modules-cache
4035
uses: actions/cache@v4
4136
with:
4237
path: node_modules
4338
key: npm-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
39+
restore-keys: |
4440
npm-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
4541
npm-modules-${{ runner.os }}-
4642
43+
- name: Install modules
44+
if: steps.npm-modules-cache.outputs.cache-hit != 'true'
45+
run: npm ci
46+
4747
- name: Release
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)