From 478d5562d51717f487537d99b60d760e7a13f670 Mon Sep 17 00:00:00 2001 From: Jamie Brynes Date: Wed, 28 Feb 2024 21:12:03 +0000 Subject: [PATCH] chore: swap to nix-develop-action for release pipeline as well --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3c6d28..0b8e3ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,18 @@ jobs: - name: Setup Magic Nix cache uses: DeterminateSystems/magic-nix-cache-action@main + - name: Use nix-develop shell + uses: nicknovitski/nix-develop@v1.1.0 + with: + arguments: ./nix --impure + - name: Install dependencies - run: nix develop ./nix --impure --command bash -c "cd plugin && npm install" + run: npm install + working-directory: ./plugin - name: Build - run: nix develop ./nix --impure --command bash -c "cd plugin && npm run build" + run: npm run build + working-directory: ./plugin - name: Release id: create_release