Skip to content

build: update node to 22 #329

build: update node to 22

build: update node to 22 #329

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- '*'
jobs:
test:
if: ${{ !(github.base_ref == 'main' && github.head_ref == 'develop') }}
name: Lint & test build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint code and check formatting
run: pnpm lint:all
- name: Build
run: pnpm build