Skip to content

chore: update release action #258

chore: update release action

chore: update release action #258

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
paths:
- packages/**
jobs:
test:
name: Test on ${{ matrix.platform }} with Node v${{ matrix.node-version }}
runs-on: ${{ matrix.platform }}
strategy:
matrix:
node-version: [20, 22]
platform: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
version: 9.12.3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Run Tests
run: pnpm test
- name: Lint
run: pnpm lint