File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request : {}
9+
10+ concurrency :
11+ group : ci-${{ github.head_ref || github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ lint :
16+ name : " Lint"
17+ runs-on : ubuntu-latest
18+ timeout-minutes : 10
19+
20+ steps :
21+ - uses : actions/checkout@v6
22+ - uses : pnpm/action-setup@v4
23+ - uses : actions/setup-node@v6
24+ with :
25+ node-version : 24
26+ cache : pnpm
27+ - run : pnpm install
28+ - run : pnpm run lint
29+
30+ test :
31+ name : " Test"
32+ runs-on : ubuntu-latest
33+ timeout-minutes : 5
34+ strategy :
35+ fail-fast : false
36+ matrix :
37+ node-version :
38+ - 18
39+ - 20
40+ - 22
41+ - 24
42+
43+ steps :
44+ - uses : actions/checkout@v6
45+ - uses : pnpm/action-setup@v4
46+ - uses : actions/setup-node@v6
47+ with :
48+ node-version : ${{ matrix.node-version }}
49+ cache : pnpm
50+ - run : pnpm install
51+ - run : pnpm test
52+
53+ legacy-node-test :
54+ name : " Legacy Node Test"
55+ runs-on : ubuntu-latest
56+ timeout-minutes : 5
57+ strategy :
58+ fail-fast : false
59+ matrix :
60+ node-version :
61+ - 6
62+ - 8
63+ - 10
64+ - 12
65+ - 14
66+ - 16
67+
68+ steps :
69+ - uses : actions/checkout@v6
70+ # prevent yarn from complaining about the packageManager key in the package.json
71+ - run : cat package.json | jq ".packageManager = \"yarn@1.22.22\"" | tee package.json
72+ - uses : actions/setup-node@v6
73+ with :
74+ node-version : ${{ matrix.node-version }}
75+ cache : yarn
76+ - run : yarn install --frozen-lockfile --ignore-engines
77+ - run : yarn test
78+
79+ windows-test :
80+ name : " Windows smoke test"
81+ runs-on : windows-latest
82+ timeout-minutes : 5
83+
84+ steps :
85+ - uses : actions/checkout@v6
86+ - uses : pnpm/action-setup@v4
87+ - uses : actions/setup-node@v6
88+ with :
89+ node-version : 24
90+ cache : pnpm
91+ - run : pnpm install
92+ - run : pnpm test
Load diff This file was deleted.
Load diff This file was deleted.
Original file line number Diff line number Diff line change 2828 },
2929 "devDependencies" : {
3030 "chai" : " ^4.0.2" ,
31+ "eslint" : " ^2.13.1" ,
3132 "eslint-plugin-chai-expect" : " ^1.1.1" ,
3233 "express" : " ^4.13.4" ,
3334 "jshint" : " ~2.9.4" ,
3435 "mocha" : " ^5.0.0" ,
35- "mocha-eslint" : " ^2.0.1" ,
3636 "request-promise" : " ^3.0.0" ,
3737 "rsvp" : " ^4.6.1"
3838 },
3939 "engines" : {
4040 "node" : " 6.* || 8.* || >= 10.*"
4141 },
4242 "scripts" : {
43- "test" : " node_modules/.bin/mocha"
44- }
43+ "test" : " mocha" ,
44+ "lint" : " eslint ."
45+ },
46+ "packageManager" : " pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800"
4547}
You can’t perform that action at this time.
0 commit comments