Skip to content

Commit 17a7beb

Browse files
Update release.yml
1 parent 06fb765 commit 17a7beb

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,19 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Setup Node.js
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: 20.x
22-
registry-url: 'https://registry.npmjs.org'
23-
2418
- name: Setup pnpm
2519
uses: pnpm/action-setup@v2
2620
with:
27-
version: 8
21+
version: 10
2822

2923
- name: Install Dependencies
3024
run: pnpm install
3125

32-
- name: Setup npm authentication
33-
run: |
34-
echo "//registry.npmjs.org/:_authToken=${{ secrets.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-
chmod 600 ~/.npmrc
39-
40-
- name: Verify npm authentication
41-
run: |
42-
npm config list
43-
npm whoami --registry https://registry.npmjs.org/
26+
- name: Setup Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 20.x
30+
cache: 'pnpm'
4431

4532
- name: Create Release Pull Request or Publish
4633
id: changesets

0 commit comments

Comments
 (0)