Skip to content

Update github ci.yaml to Node v20 #33

Update github ci.yaml to Node v20

Update github ci.yaml to Node v20 #33

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline --no-audit
- run: npm run lint
test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline --no-audit
- run: npm run test