Skip to content

Commit

Permalink
update typescript publish with new token (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 authored Jun 21, 2024
1 parent 6803768 commit 6ac012c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/typescript_package_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@ jobs:
run: |
cd ./scripts
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: cd ./models/typescript && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN }}

0 comments on commit 6ac012c

Please sign in to comment.