Skip to content

chore(deps): update node.js to v22 #1060

chore(deps): update node.js to v22

chore(deps): update node.js to v22 #1060

Workflow file for this run

name: Build and test
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
fail-fast: false
name: Node ${{ matrix.node }} build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
- run: npm ci
- run: npm run build
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
fail-fast: false
name: Node ${{ matrix.node }} test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
- run: npm ci
- run: npm run test