Skip to content

Fix actions and update to v4 #20

Fix actions and update to v4

Fix actions and update to v4 #20

Workflow file for this run

name: main
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
name: Tests on ${{matrix.node}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}
- run: npm install
- run: npm test
strategy:
matrix:
node:
- lts/hydrogen
- lts/iron
- node
lint:
name: Lint and format check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/iron"
- run: npm install
- run: npm run check