Skip to content

[Feature] Update Node.js version from v12 to v20 as GitHub Actions will no longer support v12 #1618

[Feature] Update Node.js version from v12 to v20 as GitHub Actions will no longer support v12

[Feature] Update Node.js version from v12 to v20 as GitHub Actions will no longer support v12 #1618

Workflow file for this run

name: Test
on: ['push', 'pull_request']
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run build
# todo: figure out why firefox is failing
- run: npm test -- --browsers ChromeHeadless
- uses: codecov/codecov-action@v1