Skip to content

Commit 6db739f

Browse files
committed
ci: Switch release action to OIDC
1 parent 9a7dce7 commit 6db739f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ jobs:
113113
- uses: actions/setup-node@v6
114114
with:
115115
node-version: 'lts/*'
116+
registry-url: 'https://registry.npmjs.org'
117+
always-auth: true
118+
auth-type: 'oidc'
116119
- run: sudo apt-get update
117120
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev liblzma-dev
118121
- run: npm ci
@@ -126,5 +129,4 @@ jobs:
126129
- name: Release
127130
env:
128131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
130132
run: npx semantic-release

0 commit comments

Comments
 (0)