Skip to content

Commit

Permalink
update npm token for publish (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 authored Jun 21, 2024
1 parent cef2f44 commit f88e0f6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .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/load-secrets-action@v2.0.0
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 f88e0f6

Please sign in to comment.