Skip to content

Commit 2f236ba

Browse files
committed
Add build:dist to github publish action
1 parent f801dcf commit 2f236ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/provenance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
scope: "@socketsecurity"
2222
- run: npm install -g npm@latest
2323
- run: npm ci
24+
- run: npm run build:dist
2425
- run: npm publish --provenance --access public
2526
env:
2627
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"socket-npx": "dist/npx-cli.js"
2121
},
2222
"scripts": {
23-
"build": "npm run build:dist && npm run build:test",
23+
"build": "run-s build:*",
2424
"build:dist": "rollup -c .config/rollup.dist.config.mjs",
2525
"build:test": "rollup -c .config/rollup.test.config.mjs",
2626
"check": "run-p -c --aggregate-output check:*",

0 commit comments

Comments
 (0)