Skip to content

Update CI workflow to use Node.js 22 and modify dependency installation #2

Update CI workflow to use Node.js 22 and modify dependency installation

Update CI workflow to use Node.js 22 and modify dependency installation #2

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.10.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run linting
run: pnpm lint
- name: Run tests
run: pnpm test