Skip to content

chore: update dependencies and migrate tooling (lefthook, vitest, TypeScript 6.0 fixes) #370

chore: update dependencies and migrate tooling (lefthook, vitest, TypeScript 6.0 fixes)

chore: update dependencies and migrate tooling (lefthook, vitest, TypeScript 6.0 fixes) #370

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
# @see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
cancel-in-progress: true
strategy:
matrix:
node-version: [22.x]
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: ./.github/actions/initialize
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: "24.x"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
- name: Test & Build
run: |
pnpm build
pnpm test:code:gen
pnpm test
env:
CI: true