Skip to content

Commit

Permalink
Update github workflow to use npm publish:custom in root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Soc Sieng committed May 11, 2020
1 parent 6a73772 commit 0b08d76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
node-version: '12.x'
registry-url: https://npm.pkg.github.com/
scope: '@google-pay'
- name: publish
run: |
cd src/react
npm publish
cd ../web-component
npm publish
- run: npm run publish:custom
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "jest",
"prepublishOnly": "npm run test && npm run build",
"tag": "git tag -f \"v$(node scripts/version.js)\"",
"publish": "npm run prepublishOnly && scripts/publish.sh"
"publish:custom": "npm run prepublishOnly && scripts/publish.sh"
},
"repository": {
"url": "https://github.com/google-pay/google-pay-button"
Expand Down

0 comments on commit 0b08d76

Please sign in to comment.