Skip to content

Commit

Permalink
removed login step for security reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 27, 2024
1 parent 9b09a4b commit 82d469e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ jobs:
run: npm ci
working-directory: xero-node

- name: Login to npm
run: npm login --scope=@your-scope --registry=https://registry.npmjs.org/ <<< "manisht72x\n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\[email protected]"
working-directory: xero-node

- name: Run Build
run: npm run build
working-directory: xero-node

- name: Publish to npm
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public
working-directory: xero-node

0 comments on commit 82d469e

Please sign in to comment.