Skip to content

Commit

Permalink
Merge pull request #365 from Concordium/fix-deployments-4
Browse files Browse the repository at this point in the history
Fixing deployment, fourth try is the charm :   ^)
  • Loading branch information
soerenbf authored May 24, 2024
2 parents c37251a + 3dfe5bd commit 373993a
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 373993a

Please sign in to comment.