Skip to content

Commit

Permalink
build: strip pacakge.json before publishing package
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNameProvided committed Jul 29, 2020
1 parent f6413c9 commit b8f4c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-deployment-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: npm run build
- run: cp LICENSE build/LICENSE
- run: cp README.md build/README.md
- run: cp package.json build/package.json
- run: jq 'del(.devDependencies) | del(.scripts)' package.json > build/package.json
- run: npm publish ./build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 comments on commit b8f4c47

Please sign in to comment.