fix: npm bin not being found

This commit is contained in:
Walker 2022-11-02 06:06:55 -03:00
parent 7d9aa370bb
commit fa97556f4d
3 changed files with 6 additions and 2 deletions

View File

@ -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 }}

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/.psa*
/.spago
/result
/dist

View File

@ -1,6 +1,6 @@
{
"name": "purs-eval",
"bin": "result/bin/purs-eval",
"bin": "dist/purs-eval",
"devDependencies": {
"xhr2": "^0.2.1"
}