File tree Expand file tree Collapse file tree 4 files changed +44
-2
lines changed Expand file tree Collapse file tree 4 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 2323 - name : Setup Node.js
2424 uses : actions/setup-node@v4
2525 with :
26- node-version : " 20 "
26+ node-version : " 24 "
2727
2828 - name : Cache node_modules
2929 uses : actions/cache@v4
Original file line number Diff line number Diff line change 1111jobs :
1212 build :
1313 runs-on : ubuntu-latest
14+ timeout-minutes : 20
1415 steps :
1516 - name : Git checkout
1617 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ name : Node v20 CI
2+
3+ on :
4+ push :
5+ paths-ignore :
6+ - " *.md"
7+ branches : [main]
8+ pull_request :
9+ branches : [main]
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ timeout-minutes : 20
15+ steps :
16+ - name : Git checkout
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : " 20"
25+
26+ - name : Cache node_modules
27+ uses : actions/cache@v4
28+ with :
29+ path : |
30+ ~/.npm
31+ ~/.nvm
32+ ~/work/better-sqlite3-wrapper/better-sqlite3-wrapper/node_modules
33+ ~/work/better-sqlite3-wrapper/better-sqlite3-wrapper/package-lock.json
34+ key : ${{ runner.os }}-node_modules-cache-v1-${{ hashFiles('**/package-lock.json') }}
35+ restore-keys : |
36+ ${{ runner.os }}-node_modules-cache-v1-
37+
38+ - name : Run tests
39+ run : |
40+ npm i
41+ node ./index.test.js
Original file line number Diff line number Diff line change 4242 "bun" : " >=0.8"
4343 },
4444 "optionalDependencies" : {
45- "better-sqlite3" : " ^11.5 .0"
45+ "better-sqlite3" : " 10.1 .0"
4646 },
4747 "devDependencies" : {
4848 "prettier" : " ^2.8.8" ,
You can’t perform that action at this time.
0 commit comments