Skip to content

Commit

Permalink
Use NPM for publishing instead of yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenbf committed Jun 19, 2024
1 parent 94f59dc commit 4bb6c69
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/deploy-wallet-connectors.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/wallet-connectors npm publish --access public
run: npm publish --workspace "@concordium/wallet-connectors" --access public
env:
NODE_AUTH_TOKEN: '${{secrets.NPM_TOKEN}}'

- name: Create a GitHub release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 4bb6c69

Please sign in to comment.