Skip to content

Commit a1391a5

Browse files
committed
Drop support for node < 20 and start using pnpm
1 parent cf2bb9b commit a1391a5

6 files changed

Lines changed: 8418 additions & 6475 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,30 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build:
11-
10+
lint:
1211
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
cache: pnpm
19+
- run: pnpm install
20+
- run: pnpm lint
1321

22+
build:
23+
runs-on: ubuntu-latest
1424
strategy:
1525
matrix:
16-
node-version: [14.x, 16.x, 18.x]
26+
node-version: [20.x, 22.x, 24.x]
1727

1828
steps:
19-
- uses: actions/checkout@v2
20-
- uses: volta-cli/action@v1
21-
with:
22-
node-version: ${{ matrix.node-version }}
23-
- run: yarn install --frozen-lockfile
24-
- run: yarn lint:js
25-
- run: yarn test
29+
- uses: actions/checkout@v4
30+
- uses: pnpm/action-setup@v4
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version: ${{ matrix.node-version }}
34+
cache: pnpm
35+
- run: pnpm install
36+
- run: pnpm test

.travis.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"fs-extra": "^8.1.0",
2222
"git-repo-info": "^2.1.0",
23-
"puppeteer": "^15.3.2",
23+
"puppeteer": "^24.22.0",
2424
"sync-disk-cache": "^1.3.3",
2525
"walk-sync": "^2.0.2"
2626
},
@@ -36,7 +36,7 @@
3636
"release-it-lerna-changelog": "^3.1.0"
3737
},
3838
"engines": {
39-
"node": "10.* || >= 12.*"
39+
"node": "20.* || 22.* || >= 24.*"
4040
},
4141
"publishConfig": {
4242
"registry": "https://registry.npmjs.org"
@@ -56,8 +56,5 @@
5656
"tokenRef": "GITHUB_AUTH"
5757
}
5858
},
59-
"volta": {
60-
"node": "12.21.0",
61-
"yarn": "1.22.10"
62-
}
59+
"packageManager": "[email protected]+sha512.fce8a3dd29a4ed2ec566fb53efbb04d8c44a0f05bc6f24a73046910fb9c3ce7afa35a0980500668fa3573345bd644644fa98338fa168235c80f4aa17aa17fbef"
6360
}

0 commit comments

Comments
 (0)