Skip to content

ci: Update github actions 'checkout' and 'setup-node' to latest v4 (#15) #32

ci: Update github actions 'checkout' and 'setup-node' to latest v4 (#15)

ci: Update github actions 'checkout' and 'setup-node' to latest v4 (#15) #32

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CI: true
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16, 18, 20, 22]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Node.js ${{matrix.node-version}} on ${{matrix.os}}
uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-version}}
- run: npm install
- name: Lint
run: npm run -s pretest
- name: Tests
run: npm run -s tests-only
- name: Coverage
run: npm run -s posttest