Skip to content

Commit 64b49a5

Browse files
authored
Merge pull request #156 from MasterOdin/chore-test-suite
move test suite to jest
2 parents 1d8fb46 + 026df04 commit 64b49a5

12 files changed

+12187
-760
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
node-version: [0.12.x, 4.x, 6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
10+
node-version: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
1111
os: [ubuntu-latest, macos-latest, windows-latest]
1212
exclude:
13-
- os: macos-latest
14-
node-version: 0.12.x
15-
- os: macos-latest
16-
node-version: 4.x
1713
- os: macos-latest
1814
node-version: 6.x
1915
- os: macos-latest
@@ -40,6 +36,10 @@ jobs:
4036
node-version: ${{ matrix.node-version }}
4137
cache: 'npm'
4238

39+
- name: Update npm
40+
if: matrix.node-version == '6.x'
41+
run: npm install -g npm@^5
42+
4343
- name: Install dependencies
4444
run: npm install
4545

@@ -53,10 +53,10 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- uses: actions/checkout@v3
56-
- name: Use Node.js 16.x
56+
- name: Use Node.js 20.x
5757
uses: actions/setup-node@v3
5858
with:
59-
node-version: 16.x
59+
node-version: 20.x
6060
cache: 'npm'
6161

6262
- name: Install dependencies
@@ -65,4 +65,4 @@ jobs:
6565
- name: Install typescript
6666
run: npm install --save-dev typescript
6767

68-
- run: node_modules/.bin/tsc --strict lib/portfinder.d.ts
68+
- run: node_modules/.bin/tsc --strict --lib es2015 lib/portfinder.d.ts

0 commit comments

Comments
 (0)