Skip to content

Commit

Permalink
fix: npm bin not being found
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Nov 2, 2022
1 parent 7d9aa37 commit fa97556
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:
with:
name: klarkc
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build
- run: |
nix build
mkdir -p dist
cp result/bin/purs-eval dist
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
if: ${{ steps.release.outputs.release_created }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
/.psa*
/.spago
/result
/dist
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purs-eval",
"bin": "result/bin/purs-eval",
"bin": "dist/purs-eval",
"devDependencies": {
"xhr2": "^0.2.1"
}
Expand Down

0 comments on commit fa97556

Please sign in to comment.