Skip to content

Commit

Permalink
update typescript publish with new token
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 committed Jun 21, 2024
1 parent 6803768 commit eed0d2d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 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 eed0d2d

Please sign in to comment.