Skip to content

Commit

Permalink
workaround jest/node14 problem with dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
morris committed Dec 23, 2023
1 parent 3561c90 commit dcababe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,20 @@ jobs:
- run: npm run format-check
- run: npm run build
- run: npm run build-examples

# workaround for https://github.com/jestjs/jest/issues/11438
- run: npm run test-coverage -- --maxWorkers=6
if: ${{ matrix.node-version == '14.x' }}
env:
CI: true
# end workaround

- run: npm run test-coverage
if: ${{ matrix.node-version != '14.x' }} # see above
env:
CI: true
- run: npx codecov
if: ${{ matrix.node-version == '14.x' }}
if: ${{ matrix.node-version == '18.x' }}
- run: npm run maybe-publish
if: ${{ github.ref == 'refs/heads/main' && matrix.node-version == '14.x' }}
env:
Expand Down

0 comments on commit dcababe

Please sign in to comment.