Skip to content

Commit 89b6c6c

Browse files
committed
prep v4
1 parent 13eba03 commit 89b6c6c

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

Diff for: .github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
on: [push, pull_request]
3+
env:
4+
CI: true
5+
6+
jobs:
7+
test:
8+
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }}
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node: [16, 18, 20, 22]
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
17+
steps:
18+
- name: Clone repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set Node.js version
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: ${{ matrix.node }}
25+
26+
- run: node --version
27+
- run: npm --version
28+
29+
- name: Install npm dependencies
30+
run: npm install
31+
32+
- name: Run tests
33+
run: npm test

Diff for: package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
"test": "mocha"
3131
},
3232
"dependencies": {
33-
"ini": "^1.3.5",
34-
"kind-of": "^6.0.2",
35-
"which": "^1.3.1"
33+
"ini": "^4.1.3",
34+
"kind-of": "^6.0.3",
35+
"which": "^4.0.0"
3636
},
3737
"devDependencies": {
3838
"gulp-format-md": "^2.0.0",
39-
"mocha": "^5.2.0"
39+
"mocha": "^10.7.3"
4040
},
4141
"keywords": [
4242
"global",

0 commit comments

Comments
 (0)