Merge pull request #124 from babbel/dependabot/npm_and_yarn/msw-2.6.0 #383
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and build | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- run: npm ci | |
- run: npm run lint | |
# Jets requires an extra node flag to work with ES modules | |
# cf. https://jestjs.io/docs/ecmascript-modules | |
- run: NODE_OPTIONS='--experimental-vm-modules' npm run test |