Skip to content

Commit 4ba964b

Browse files
authored
Fix/yarnrc (#587)
* fix: add npm auth token in yarnrc.yml * fix: get rid of npmrc * fix: use correct publish script
1 parent 29ca837 commit 4ba964b

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

.changeset/old-chairs-refuse.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@chainify/bitcoin': patch
3+
'@chainify/bitcoin-ledger': patch
4+
'@chainify/client': patch
5+
'@chainify/errors': patch
6+
'@chainify/evm': patch
7+
'@chainify/evm-contracts': patch
8+
'@chainify/evm-ledger': patch
9+
'@chainify/hw-ledger': patch
10+
'@chainify/logger': patch
11+
'@chainify/near': patch
12+
'@chainify/solana': patch
13+
'@chainify/terra': patch
14+
'@chainify/types': patch
15+
'@chainify/utils': patch
16+
---
17+
18+
- add npm auth token inside .yarnrc.yml

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: changesets/action@v1
5353
with:
5454
# This expects you to have a script called release which does a build for your packages and calls changeset publish
55-
publish: yarn release
55+
publish: yarn changeset-release
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.yarnrc.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@ plugins:
66
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
77
spec: "@yarnpkg/plugin-workspace-tools"
88

9-
yarnPath: .yarn/releases/yarn-3.1.1.cjs
10-
11-
npmPublishAccess: public
12-
npmAuthToken: ${NPM_TOKEN-''}
9+
yarnPath: .yarn/releases/yarn-3.1.1.cjs

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"changeset": "changeset",
5757
"version": "yarn changeset version",
5858
"release": "yarn workspaces foreach --from '@chainify/*' npm publish --access public",
59-
"build-release": "yarn build --force && yarn changeset publish",
59+
"changeset-release": "yarn build --force && yarn changeset publish",
6060
"release:beta": "yarn release --tag beta",
6161
"tag": "yarn changeset tag",
6262
"docs": "typedoc"

0 commit comments

Comments
 (0)