Skip to content

Commit

Permalink
chore: add node version to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 1, 2024
1 parent 3b8a006 commit 5f6f03b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version-file: '.tool-versions'

- name: Get pnpm store directory
shell: bash
Expand All @@ -37,5 +38,13 @@ jobs:
- name: Install dependencies
run: pnpm install

run-tests:
runs-on: ubuntu-latest

needs: cache-and-install

steps:
- name: Run unit tests
run: pnpm test
run: pnpm test


0 comments on commit 5f6f03b

Please sign in to comment.