Skip to content

Commit dcb193f

Browse files
committed
drop support for Node < 22 and swap to pnpm
1 parent fbf8b63 commit dcb193f

4 files changed

Lines changed: 5564 additions & 3768 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: CI
33
on:
44
push:
55
branches:
6+
- main
67
- master
7-
- 'v*' # older version branches
8-
tags:
9-
- '*'
108
pull_request: {}
11-
schedule:
12-
- cron: '0 6 * * 0' # weekly, on sundays
9+
10+
concurrency:
11+
group: ci-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
1313

1414
jobs:
1515
test:
@@ -18,15 +18,21 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node: ['10', '12']
22-
os: [ubuntu-latest, macOS-latest, windows-latest]
21+
node:
22+
- 22
23+
- 24
24+
- 26
25+
os:
26+
- ubuntu-latest
27+
- macOS-latest
28+
- windows-latest]
2329

2430
steps:
25-
- uses: actions/checkout@v1
26-
- uses: actions/setup-node@v1
31+
- uses: actions/checkout@v7
32+
- uses: pnpm/action-setup@v6
33+
- uses: actions/setup-node@v7
2734
with:
2835
node-version: ${{ matrix.node }}
29-
- name: install dependencies
30-
run: yarn
31-
- name: test
32-
run: yarn test
36+
cache: pnpm
37+
- run: pnpm install
38+
- run: pnpm test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@
6969
},
7070
"volta": {
7171
"node": "10.19.0"
72-
}
72+
},
73+
"packageManager": "pnpm@11.15.1+sha512.81350b07e53c9538a02f1f2303b4290fa2d7be04e56e2a970c4cc4b417dc761de196edabd49d55c7dc9580db81007c44143e4e3d7e462b3000d23c255122d065"
7374
}

0 commit comments

Comments
 (0)