Skip to content

Commit c4b8749

Browse files
committed
fix(ci): use node lts and restore registry-url for OIDC trusted publish
1 parent 5010ec6 commit c4b8749

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: "22"
23+
node-version: lts/*
24+
registry-url: https://registry.npmjs.org
2425
cache: pnpm
2526

2627
- run: pnpm install --frozen-lockfile
@@ -50,7 +51,7 @@ jobs:
5051

5152
- uses: actions/setup-node@v4
5253
with:
53-
node-version: "22"
54+
node-version: lts/*
5455
registry-url: https://npm.pkg.github.com
5556
cache: pnpm
5657

0 commit comments

Comments
 (0)