Skip to content

Commit 6c942f4

Browse files
committed
ci: fix broken ci
1 parent c9fe7b5 commit 6c942f4

3 files changed

Lines changed: 172 additions & 12 deletions

File tree

‎.github/workflows/node.js.yml‎

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,30 @@ name: Node.js CI
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
pull_request:
77
branches:
8-
- master
8+
- main
9+
permissions:
10+
contents: read
911
jobs:
1012
build:
1113
runs-on: ubuntu-latest
1214
strategy:
1315
matrix:
1416
node-version:
15-
- 12.x
16-
- 14.x
17-
- 16.x
17+
- 22.x
18+
- 24.x
19+
- 26.x
1820
steps:
19-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
22+
- name: Setup PNPM
23+
uses: pnpm/action-setup@v4
2024
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
25+
uses: actions/setup-node@v4
2226
with:
2327
node-version: ${{ matrix.node-version }}
24-
- name: Setup PNPM
25-
uses: pnpm/action-setup@v1.2.1
26-
with:
27-
version: 4.11.1
28-
- run: pnpm i
28+
cache: pnpm
29+
- run: pnpm i --frozen-lockfile
2930
- run: pnpm run build --if-present
3031
- run: pnpm test

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"engines": {
8080
"node": ">=22.0.0"
8181
},
82+
"packageManager": "pnpm@12.11.2",
8283
"react-native": {
8384
"vm": false
8485
},

‎pnpm-lock.yaml‎

Lines changed: 158 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)