Skip to content

Commit dab0bea

Browse files
committed
Attempt to set up OIDC publishing
1 parent cd498d9 commit dab0bea

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ on:
33
push:
44
branches:
55
- master
6+
7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: write # Required for git tag
10+
611
jobs:
712
npm-publish:
813
name: npm-publish
@@ -20,7 +25,7 @@ jobs:
2025
if: steps.check.outputs.changed == 'true'
2126
uses: actions/setup-node@v4
2227
with:
23-
node-version: "18"
28+
node-version: "24"
2429
- name: Set up pnpm
2530
if: steps.check.outputs.changed == 'true'
2631
run: npm i -g pnpm@10

0 commit comments

Comments
 (0)