Skip to content

Commit

Permalink
fix: build step cannot be run in dist dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Dec 7, 2023
1 parent ceb5745 commit 198359f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm run build
if: ${{ steps.release.outputs.release_created }}
- run: cd dist && npm publish --provenance
if: ${{ steps.release.outputs.release_created }}
env:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"author": "vasco-santos",
"license": "Apache-2.0 OR MIT",
"scripts": {
"prepare": "npm run build",
"build": "npm run build:js && npm run build:types",
"build:js": "ipjs build --main && npm run build:copy",
"build:copy": "cp -a tsconfig.json src test dist/ ",
Expand Down

0 comments on commit 198359f

Please sign in to comment.