Skip to content

Commit d609675

Browse files
authored
Merge pull request #86 from dopry/chore/npm-trusted-publisher
chore: enable npm trusted publisher
2 parents c7518f5 + 9902a93 commit d609675

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
@@ -34,6 +34,10 @@ jobs:
3434
node-version: '22'
3535
cache: 'npm'
3636

37+
# Ensure npm 11.5.1 or later is installed for npm trusted publishing
38+
- name: Update npm
39+
run: npm install -g npm@latest
40+
3741
- name: Install dependencies
3842
run: npm ci
3943

@@ -65,4 +69,3 @@ jobs:
6569
run: npx semantic-release
6670
env:
6771
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)