Skip to content

chore(deps): pin dependencies #149

chore(deps): pin dependencies

chore(deps): pin dependencies #149

Workflow file for this run

name: PR
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
with:
version: 10.32.1
- name: Setup Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
with:
node-version: "22"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Install platform-specific dependencies
run: |
# Install platform dependencies for Linux (temporary, not saved to package.json)
pnpm add @oxlint/linux-x64-gnu --save-dev || echo "Failed to install oxlint platform dependency, continuing..."
- name: Check formatting
run: pnpm run format:check:all
- name: Run linting
run: pnpm run lint:all
- name: Build project
run: pnpm run build
- name: Run tests
run: pnpm test
env:
LOG_LEVEL: ERROR