Skip to content

Bump actions/setup-node from 4 to 5 #33

Bump actions/setup-node from 4 to 5

Bump actions/setup-node from 4 to 5 #33

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v5
- run: npm ci --no-fund
- run: npm run lint
test:
runs-on: ubuntu-latest
name: "test (node v${{ matrix.node-version }})"
strategy:
matrix:
node-version: [18, 20, 21]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci --no-fund
- run: npm run test