Skip to content

Commit e01c867

Browse files
committed
Update OIDC and node versions
1 parent ac05838 commit e01c867

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/setup-node@v4
2727
with:
2828
cache: 'pnpm'
29-
node-version: 18.x
29+
node-version: 22.x
3030

3131
# Wireit cache
3232
- uses: google/wireit@setup-github-actions-caching/v2

.github/workflows/create-spectacle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
node-version: [18.x]
24+
node-version: [22.x]
2525
create-type: ['tsx', 'onepage']
2626
steps:
2727
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11+
environment: Production
1112
permissions:
1213
contents: write
1314
id-token: write
@@ -20,6 +21,7 @@ jobs:
2021
steps:
2122
- uses: actions/checkout@v4
2223
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}
2325
fetch-depth: 0
2426

2527
- uses: pnpm/action-setup@v3
@@ -29,7 +31,13 @@ jobs:
2931
- uses: actions/setup-node@v4
3032
with:
3133
cache: 'pnpm'
32-
node-version: 18.x
34+
node-version: 22.x
35+
36+
- name: Upgrade npm for OIDC
37+
run: npm i -g npm@^11.5.1
38+
39+
- name: Set npm registry for OIDC
40+
run: npm config set registry https://registry.npmjs.org
3341

3442
- name: Install dependencies
3543
run: pnpm install
@@ -48,4 +56,3 @@ jobs:
4856
publish: pnpm changeset publish
4957
env:
5058
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.x
1+
22.x

0 commit comments

Comments
 (0)