Skip to content

Update packages and github actions to run on node 20+ #3

Update packages and github actions to run on node 20+

Update packages and github actions to run on node 20+ #3

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