chore(deps): update dependency mocha to v10 #584
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: Node CI | |
on: | |
push: | |
branches-ignore: ['v[0-9].[0-9].[0-9]'] | |
pull_request: | |
branches-ignore: ['v[0-9].[0-9].[0-9]'] | |
jobs: | |
build: | |
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [14, 16, 18] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Upgrade npm | |
run: npm i -g npm@latest | |
- name: npm install | |
uses: bahmutov/npm-install@cb39a46f27f14697fec763d60fb23ad347e2befa # tag=v1 | |
- name: test | |
run: | | |
npm test | |
npm run stop-only | |
DEBUG=snap-shot-it npm run test-two-specs | |
npm run ts-demo | |
npm run coffee-demo | |
cd test-all-skipped && npm test | |