Skip to content

Commit

Permalink
Use Nix installer in GH workflow
Browse files Browse the repository at this point in the history
This way CI and local development match.
  • Loading branch information
PsychoLlama committed Feb 17, 2024
1 parent 9b39bb4 commit 233eb60
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: bahmutov/npm-install@v1
- name: Test
run: yarn -s test
- uses: DeterminateSystems/nix-installer-action@main
- run: nix develop --command yarn install
- run: nix develop --command yarn -s test

0 comments on commit 233eb60

Please sign in to comment.