Skip to content

Commit 7f32166

Browse files
Trying
1 parent 2993d01 commit 7f32166

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
node-version: 18.x
2525
cache: "pnpm"
2626
- run: pnpm install --frozen-lockfile
27+
28+
- name: Create .npmrc
29+
run: |
30+
cat << EOF > "$HOME/.npmrc"
31+
//registry.npmjs.org/:_authToken=$NPM_TOKEN
32+
EOF
33+
env:
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
2736
- name: Create Release Pull Request or Publish
2837
id: changesets
2938
uses: changesets/action@v1

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
auto-install-peers = true
2-
//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}

0 commit comments

Comments
 (0)