Skip to content

Commit

Permalink
publish config
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenbf committed Jun 19, 2024
1 parent 76264eb commit 19ed8ad
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/deploy-react-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,10 @@ jobs:
cache: yarn
registry-url: 'https://registry.npmjs.org'

- 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:
NPM_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'

- name: Publish to NPM
run: yarn workspace @concordium/react-components npm publish --access public
run: npm publish --workspace "@concordium/react-components"
env:
NODE_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'

- name: Create a GitHub release
uses: ncipollo/release-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-wallet-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Publish to NPM
run: npm publish --workspace "@concordium/wallet-connectors" --access public
run: npm publish --workspace "@concordium/wallet-connectors" --verbose
env:
NODE_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'

Expand Down
3 changes: 3 additions & 0 deletions packages/ccd-js-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"url": "https://github.com/Concordium/concordium-node-sdk-js",
"directory": "packages/ccd-js-gen"
},
"publishConfig": {
"access": "public"
},
"author": {
"name": "Concordium Software",
"email": "[email protected]",
Expand Down
3 changes: 3 additions & 0 deletions packages/rust-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"url": "https://github.com/Concordium/concordium-node-sdk-js",
"directory": "packages/rust-bindings"
},
"publishConfig": {
"access": "public"
},
"sideEffects": [
"./lib/*/web/umd/index.min.js",
"./lib/*/bundler/index.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"sideEffects": [
"lib/min/*"
],
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "lib/min/concordium.node.min.js",
"browser": "lib/min/concordium.web.min.js",
Expand Down

0 comments on commit 19ed8ad

Please sign in to comment.