Skip to content

Commit

Permalink
Fixing deployment, fourth try is the charm : ^)
Browse files Browse the repository at this point in the history
Got new error, so authentication should work out now.
The `npm_token` was wrong...
  • Loading branch information
rasmus-kirk committed May 23, 2024
1 parent c4de58c commit fe3defe
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-ccd-js-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,13 @@ jobs:
cache: yarn
registry-url: 'https://registry.npmjs.org'

- name: Publish to NPM
run: npm publish --workspace packages/ccd-js-gen
- 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/ccd-js-gen npm publish --access public
12 changes: 9 additions & 3 deletions .github/workflows/deploy-rust-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,13 @@ jobs:
cache: yarn
registry-url: 'https://registry.npmjs.org'

- name: Publish to NPM
run: npm publish --workspace packages/rust-bindings
- 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/rust-bindings npm publish --access public
2 changes: 1 addition & 1 deletion .github/workflows/deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ jobs:
NPM_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'

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

0 comments on commit fe3defe

Please sign in to comment.