Skip to content

Commit 628ea04

Browse files
update npm registry
1 parent 443966c commit 628ea04

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
- name: Install Dependencies
3030
run: pnpm install
3131

32+
- name: Configure npm
33+
run: |
34+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
35+
echo "registry=https://registry.npmjs.org/" >> .npmrc
36+
echo "always-auth=true" >> .npmrc
37+
echo "@aci-sdk:registry=https://registry.npmjs.org/" >> .npmrc
38+
3239
- name: Create Release Pull Request or Publish
3340
id: changesets
3441
uses: changesets/action@v1

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"url": "https://github.com/jiweiyuan/aci-typescript-sdk.git"
2828
},
2929
"publishConfig": {
30-
"access": "public"
30+
"access": "public",
31+
"registry": "https://registry.npmjs.org/"
3132
},
3233
"devDependencies": {
3334
"@changesets/cli": "^2.27.1",

0 commit comments

Comments
 (0)