Skip to content

Commit

Permalink
chore: swap to nix-develop-action for release pipeline as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebrynes7 committed Feb 28, 2024
1 parent 33b1497 commit 478d556
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 478d556

Please sign in to comment.