Skip to content

Commit 608b026

Browse files
committed
chore: test against latest lts only
This library is becoming less important with OAS3.1 being actual JSON Schema and with the frequency of Node releases I cant a) keep changing this matrix, or b) justify wasting compute resources on checking them all all the time. LMK if there's a problem in a particular version and we'll revert if it becomes an issue.
1 parent 29b2a26 commit 608b026

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@master
14-
- uses: actions/setup-node@v1
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v2
1515
with:
16-
node-version: "12.x"
16+
node-version: "lts/*"
1717
- run: npm ci
1818
- run: npm run build --if-present
1919
- run: npm test

.github/workflows/test.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,15 @@ on: push
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8-
strategy:
9-
matrix:
10-
node-version: [10.x, 12.x]
118
steps:
12-
- uses: actions/checkout@v1
13-
- name: Use Node.js ${{ matrix.node-version }}
14-
uses: actions/setup-node@v1
15-
with:
16-
node-version: ${{ matrix.node-version }}
17-
- name: npm install, build, and test
18-
run: |
19-
npm ci
20-
npm run build --if-present
21-
npm test
22-
env:
23-
CI: true
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version: "lts/*"
13+
- name: npm install, build, and test
14+
run: |
15+
npm ci
16+
npm run build --if-present
17+
npm test
18+
env:
19+
CI: true

0 commit comments

Comments
 (0)