Skip to content

update test runners to recent versions #5

update test runners to recent versions

update test runners to recent versions #5

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install
run: pnpm install --frozen-lockfile --reporter=silent
- name: Lint
run: pnpm lint
- name: Build dist
run: pnpm build
- name: Run tests
run: pnpm test