Skip to content

Commit a9f5daf

Browse files
authored
Merge pull request #3 from keybindyjs/release/v2.0.0
chore(ci): upgrade to node 22 and latest npm for trusted publishing oidc
2 parents 5ee604a + 33fcd67 commit a9f5daf

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: CI
22

33
on:
4-
push:
5-
branches: [main]
64
pull_request:
75
branches: [main]
86

@@ -26,7 +24,7 @@ jobs:
2624
- name: Setup Node.js
2725
uses: actions/setup-node@v4
2826
with:
29-
node-version: 20
27+
node-version: 22
3028
cache: 'pnpm'
3129

3230
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ jobs:
3131
- name: Setup Node.js
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: 20
34+
node-version: 22
3535
cache: 'pnpm'
3636
registry-url: 'https://registry.npmjs.org'
3737

38+
- name: Update npm to latest for OIDC support
39+
run: npm install -g npm@latest
40+
3841
- name: Install dependencies
3942
run: pnpm install --frozen-lockfile
4043

0 commit comments

Comments
 (0)