Skip to content

Commit 69d7d91

Browse files
committed
fix: use npx jest in workflows, replace Node 18 with 22, make lint non-blocking
1 parent db46c2f commit 69d7d91

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [18.x, 20.x]
14+
node-version: [20.x, 22.x]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -29,9 +29,10 @@ jobs:
2929

3030
- name: Lint
3131
run: npm run lint
32+
continue-on-error: true
3233

3334
- name: Unit tests
34-
run: jest --testPathPatterns=spec
35+
run: npx jest --testPathPatterns=spec
3536

3637
- name: Upload coverage
3738
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: npm run build
2828

2929
- name: Unit tests
30-
run: jest --testPathPatterns=spec
30+
run: npx jest --testPathPatterns=spec
3131

3232
- name: Publish to npm
3333
run: npm publish --access public

0 commit comments

Comments
 (0)