Skip to content

Commit

Permalink
ci: pass authtoken to npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Mar 7, 2024
1 parent 995b0e4 commit 48395a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish_npm_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Publish to NPM
- name: Publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --public
shell: bash
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
npm publish --access public
shell: bash
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@deriv-com/quill-ui",
"private": false,
"version": "0.0.1",
"version": "0.0.2",
"type": "module",
"main": "dist/main.js",
"files": [
Expand Down

0 comments on commit 48395a4

Please sign in to comment.