Skip to content

Commit

Permalink
Fix tests (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
neongreen authored May 7, 2024
1 parent 951e7d9 commit 04d2717
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3

- name: Get Node.js version
run: echo "NODE_VERSION=$(jq -r .volta.node package.json)" >> $GITHUB_ENV

- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: pnpm i
node-version: '${{ env.NODE_VERSION }}'
cache: pnpm

- name: Install dependencies
run: pnpm i --frozen-lockfile

- run: pnpm run check
- run: pnpm run jest

- run: pnpm exec jest

0 comments on commit 04d2717

Please sign in to comment.