Skip to content

Merge pull request #38 from chipmk/feat/ping #52

Merge pull request #38 from chipmk/feat/ping

Merge pull request #38 from chipmk/feat/ping #52

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: lts/*
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Check
run: pnpm exec biome ci .
- name: Typecheck
run: pnpm typecheck
- name: Build libs
run: pnpm build
- name: Get playwright version
run: echo "PLAYWRIGHT_VERSION=$(pnpm list @playwright/test | grep @playwright | sed 's/.*@//')" >> $GITHUB_ENV
- name: Setup playwright
uses: ./.github/actions/setup-playwright
with:
version: ${{ env.PLAYWRIGHT_VERSION }}
- name: Tests
run: pnpm test