Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing deployment, fourth try is the charm : ^) #365

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading