Skip to content

Commit 5f1eae9

Browse files
committed
ci: Switch release action to OIDC
1 parent 9a7dce7 commit 5f1eae9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
schedule:
1414
- cron: "0 7 * * 1"
1515

16+
permissions:
17+
id-token: write
18+
contents: read
1619
jobs:
1720
build:
1821
runs-on: ubuntu-latest
@@ -113,6 +116,7 @@ jobs:
113116
- uses: actions/setup-node@v6
114117
with:
115118
node-version: 'lts/*'
119+
registry-url: 'https://registry.npmjs.org'
116120
- run: sudo apt-get update
117121
- 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
118122
- run: npm ci
@@ -126,5 +130,4 @@ jobs:
126130
- name: Release
127131
env:
128132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
130133
run: npx semantic-release

0 commit comments

Comments
 (0)