Skip to content

Bump mocha from 10.3.0 to 10.7.0 #167

Bump mocha from 10.3.0 to 10.7.0

Bump mocha from 10.3.0 to 10.7.0 #167

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci && (cd e2e-tests; npm ci)
- run: npm run lint
- run: npm test
env:
CI: true
- run: npm run test:browser -- --coverage
- name: Run end-to-end tests
run: (cd e2e-tests; npm test)
- name: Coveralls
uses: coverallsapp/github-action@master
if: success() && startsWith(matrix.node-version, '18')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}