Skip to content

chore(deps): update pnpm to v10.28.2 [security] #205

chore(deps): update pnpm to v10.28.2 [security]

chore(deps): update pnpm to v10.28.2 [security] #205

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Extract Node.js version from mise.toml
id: mise-node
run: |
NODE_VERSION=$(grep -E '^\s*node\s*=' mise.toml | sed -E 's/.*"([^"]+)".*/\1/')
if [ -z "$NODE_VERSION" ]; then
echo "Error: Failed to extract Node.js version from mise.toml"
exit 1
fi
echo "NODE_VERSION=$NODE_VERSION" >> $GITHUB_ENV
- name: Install pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test