Skip to content

ci: switch release workflow to node 22 #582

ci: switch release workflow to node 22

ci: switch release workflow to node 22 #582

Workflow file for this run

name: CI
on:
push:
branches: [main, next]
pull_request:
branches: [main, next]
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
node: [18, 20, 22]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Build, Test, Lint
run: npm run ci