Skip to content

Commit 0d33676

Browse files
Use pnpm and raise NodeJS minimum to 22 (#1114)
1 parent e22f5a8 commit 0d33676

6 files changed

Lines changed: 3164 additions & 9112 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,51 +17,35 @@ jobs:
1717
strategy:
1818
matrix:
1919
platform: [ ubuntu-latest, macos-latest, windows-latest ]
20-
node-version: [ ^18.0.0, ^20.0.0 ]
20+
node-version: [ ^22.0.0, ^24.0.0 ]
2121
runs-on: ${{ matrix.platform }}
2222
steps:
2323
- uses: actions/checkout@v6
2424
- uses: actions/setup-node@v6
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- run: npm ci --ignore-scripts
28-
- run: ./node_modules/.bin/c8 --reporter=lcovonly npm test
29-
- uses: codecov/codecov-action@v6.0.0
30-
31-
pnpm-check:
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v6
35-
- uses: actions/setup-node@v6
36-
with:
37-
node-version: ^20.0.0
38-
- uses: actions/cache@v4
39-
env:
40-
cache-name: cache-pnpm-modules
41-
with:
42-
path: ~/.pnpm-store
43-
key: pnpm-check-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
44-
restore-keys: pnpm-check-${{ env.cache-name }}-
45-
- uses: pnpm/action-setup@v6.0.1
27+
- uses: pnpm/action-setup@v6
4628
with:
47-
version: ^8.15.4
48-
run_install: |
49-
- args: [--ignore-scripts]
50-
- run: pnpm run compile
51-
- run: pnpm test
29+
version: 10
30+
- run: pnpm install
31+
- run: ./node_modules/.bin/c8 --reporter=lcovonly pnpm test
32+
- uses: codecov/codecov-action@v6.0.0
5233

5334
release-readiness:
5435
runs-on: ubuntu-latest
5536
steps:
5637
- uses: actions/checkout@v6
5738
- uses: actions/setup-node@v6
5839
with:
59-
node-version: ^20.0.0
60-
- run: npm ci
61-
- run: npm run release-readiness
40+
node-version: ^24.0.0
41+
- uses: pnpm/action-setup@v6
42+
with:
43+
version: 10
44+
- run: pnpm install
45+
- run: pnpm run release-readiness
6246

6347
dependabot-approveOrMerge:
64-
needs: [test, pnpm-check, release-readiness]
48+
needs: [test, release-readiness]
6549
runs-on: ubuntu-latest
6650
permissions:
6751
pull-requests: write

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ dist/
55
.nyc_output
66
coverage
77
temp
8-
pnpm-lock.yaml
98
.pnpm-store

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Changed
10+
- Raised minimum NodeJS version from 12.17.0 to 22.
11+
912
## [3.0.2] - 2022-03-16
1013

1114
## [3.0.1] - 2021-07-10

0 commit comments

Comments
 (0)