Skip to content

Commit

Permalink
update npm token for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 committed Jun 21, 2024
1 parent cef2f44 commit ed6e49f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish_validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,17 @@ jobs:

- name: Install dependencies
run: yarn

- name: Load secrets from 1Password
uses: 1password/[email protected]
with:
export-env: true # Export loaded secrets as environment variables
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
NODE_AUTH_TOKEN: "op://TECHNOLOGIES/vwhmodynvelkwrqbpel45ncve4/credential"

- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN }}

0 comments on commit ed6e49f

Please sign in to comment.