Skip to content

Commit c2af3c4

Browse files
authored
Update release.yml
1 parent bcbb7f2 commit c2af3c4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ jobs:
1818
node-version: 20
1919
registry-url: 'https://registry.npmjs.org'
2020
scope: '@calycode'
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2123
- run: pnpm install
22-
- name: Set up npm authentication
23-
run: |
24-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
25-
env:
26-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2724
- name: Create Release Pull Request or Publish to npm
2825
uses: changesets/action@v1
2926
with:

0 commit comments

Comments
 (0)