Skip to content

Commit 1a66ae7

Browse files
authored
ci: trusted publishing (#264)
1 parent e872dbd commit 1a66ae7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ jobs:
134134
with:
135135
node-version: 22
136136

137+
# npm 11.5.1 or later is required so update to latest to be sure
138+
- name: Update npm
139+
run: npm install -g npm@latest
140+
137141
- name: 📥 Install dependencies
138142
run: npm install
139143

@@ -156,4 +160,3 @@ jobs:
156160
env:
157161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158162
NPM_CONFIG_PROVENANCE: true
159-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)