Skip to content

Commit 9989f6d

Browse files
committed
remove node 14 from testing matrix
1 parent 5c23ab4 commit 9989f6d

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/pipeline.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [14, 16, 18, 20, 22, 24]
10+
node-version: [16, 18, 20, 22, 24]
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v4
@@ -21,21 +21,13 @@ jobs:
2121
if: ${{ matrix.node-version == 24 }}
2222
- run: npm run build
2323
- run: npm run build-examples
24-
25-
# workaround for https://github.com/jestjs/jest/issues/11438
26-
- run: npm ls ts-jest
27-
- run: npm run test-coverage -- --maxWorkers=7
28-
if: ${{ matrix.node-version == 14 }}
29-
env:
30-
CI: true
31-
# end workaround
32-
3324
- run: npm run test-coverage
34-
if: ${{ matrix.node-version != 14 }} # see above
3525
env:
3626
CI: true
37-
- run: npx codecov || echo "Codecov failed, ignoring"
38-
if: ${{ github.ref == 'refs/heads/main' && matrix.node-version == 18 }}
27+
- uses: codecov/codecov-action@v5
28+
with:
29+
token: ${{ secrets.CODECOV_TOKEN }}
30+
if: ${{ github.ref == 'refs/heads/main' && matrix.node-version == 24 }}
3931
publish:
4032
if: github.ref == 'refs/heads/main'
4133
needs: check
@@ -46,7 +38,7 @@ jobs:
4638
with:
4739
node-version: 14
4840
registry-url: https://registry.npmjs.org
49-
- run: npm install
41+
- run: npm ci
5042
- run: npm run build
5143
- run: npm publish || echo "Already published"
5244
env:

0 commit comments

Comments
 (0)