Skip to content

Commit

Permalink
Merge pull request #9 from neogeek/hotfix/prepare-build-target
Browse files Browse the repository at this point in the history
[hotfix] Added a prepare build target.
  • Loading branch information
neogeek authored May 7, 2024
2 parents 3ea7019 + d67caa3 commit 6a12a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Build package
run: npm run build

- name: NPM whoami
run: npm whoami
env:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"scripts": {
"test": "node --import tsx --test ./src/*.test.ts",
"build": "rm -rf dist/ && tsc && chmod +x ./dist/bin/index.js"
"build": "rm -rf dist/ && tsc && chmod +x ./dist/bin/index.js",
"prepare": "npm run build"
},
"keywords": [
"javascript",
Expand Down

0 comments on commit 6a12a87

Please sign in to comment.