Skip to content

Migrate tooling to pnpm, biome, lefthook and vitest #21

Migrate tooling to pnpm, biome, lefthook and vitest

Migrate tooling to pnpm, biome, lefthook and vitest #21

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "23"
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm exec biome format
- run: pnpm exec biome lint
- run: pnpm exec tsc -p client-vms/tsconfig.json
test-client-vms:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "23.0"
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: |
sleep 10
pushd client-vms
pnpm vitest --coverage --coverage.reportOnFailure auth.test
ls -lah
ls -lah coverage
popd
killall -9 nillion-devnet
- uses: davelosert/vitest-coverage-report-action@v2
if: always()
with:
working-directory: ./client-vms
comment-on: "pr"