Skip to content

Bump actions/checkout from 3 to 4 #62

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #62

Workflow file for this run

name: Build, lint, test
on: [ push, pull_request ]
jobs:
build-lint:
name: Build & lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: latest
- run: npm ci
- name: Compile & lint
run: npm run lint-all
test:
name: Test
strategy:
fail-fast: false
matrix:
# Test on min version from package.json and on latest to see if no Node changes broke it
node-version: [ latest, 16.7.0 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Test
run: npm test