Skip to content

Commit

Permalink
Trying to fix the deployment CI, 3. time :')
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed May 23, 2024
1 parent 7b0571d commit c4de58c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,13 @@ jobs:
cache: yarn
registry-url: 'https://registry.npmjs.org'

- name: Publish to NPM
run: npm publish --workspace packages/sdk
- name: Setup .yarnrc.yml
run: |
yarn config set npmRegistryServer "https://registry.npmjs.org"
yarn config set npmAlwaysAuth true
yarn config set npmAuthToken $NPM_AUTH_TOKEN
env:
NODE_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'
NPM_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'

- name: Publish to NPM
run: yarn workspace @concordium/web-sdk npm publish

0 comments on commit c4de58c

Please sign in to comment.