From 233eb60fd89c60015f89de07d147560305a52c45 Mon Sep 17 00:00:00 2001 From: Jesse Gibson Date: Sat, 17 Feb 2024 13:21:45 -0500 Subject: [PATCH] Use Nix installer in GH workflow This way CI and local development match. --- .github/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50948d96..f761c1d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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