Skip to content

Commit a90122d

Browse files
committed
also adjust prerelease workflow
1 parent 1de1160 commit a90122d

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

.github/workflows/prerelease.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,10 @@ jobs:
4040
# with the correct commits
4141
fetch-depth: 0
4242

43-
- name: Append NPM token to .npmrc
44-
run: |
45-
cat << EOF > "$HOME/.npmrc"
46-
provenance=true
47-
//registry.npmjs.org/:_authToken=$NPM_TOKEN
48-
EOF
49-
env:
50-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51-
5243
- name: Setup Node.js
5344
uses: actions/setup-node@v6
5445
with:
55-
node-version: ">=23.6.0"
46+
node-version: "24.x"
5647

5748
- name: Install dependencies with cache
5849
uses: bahmutov/npm-install@v1
@@ -96,7 +87,7 @@ jobs:
9687
publish: npm run changeset-publish
9788
env:
9889
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
90+
NPM_TOKEN: ""
10091

10192
postrelease:
10293
name: Postrelease
@@ -118,19 +109,10 @@ jobs:
118109
with:
119110
token: ${{ steps.github-actions-bot-app-token.outputs.token }}
120111

121-
- name: Append NPM token to .npmrc
122-
run: |
123-
cat << EOF > "$HOME/.npmrc"
124-
provenance=true
125-
//registry.npmjs.org/:_authToken=$NPM_TOKEN
126-
EOF
127-
env:
128-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
129-
130112
- name: Setup Node.js
131113
uses: actions/setup-node@v6
132114
with:
133-
node-version: ">=23.6.0"
115+
node-version: "24.x"
134116

135117
- name: Install dependencies with cache
136118
uses: bahmutov/npm-install@v1

0 commit comments

Comments
 (0)