Skip to content

Commit 8f7b252

Browse files
authored
Merge pull request #393 from adobe/fix/release-fix
chore!: set minimal node ver 17
2 parents 40d437f + 3db179c commit 8f7b252

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

.github/workflows/ci.yml

+18-19
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,30 @@ name: CI Build
55

66
on:
77
pull_request:
8-
branches: [ main ]
8+
branches: [main]
99

1010
jobs:
1111
build:
12-
13-
runs-on: ubuntu-latest
14-
12+
runs-on: ${{ matrix.os }}
1513
strategy:
1614
matrix:
17-
node-version: [12.x, 14.x, 16.x]
15+
os: [ubuntu-latest, macos-latest]
16+
node-version: [17.x]
1817
include:
19-
- node-version: 14.x
18+
- node-version: 17.x
2019
reportCoverage: true
2120

2221
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
- run: npm version
29-
- run: npm install
30-
- run: npm run generate-docs
31-
- run: npm test
32-
- run: npm run semantic-release-dry-run
33-
- name: Codecov
34-
uses: codecov/[email protected]
35-
if: matrix.reportCoverage
22+
- uses: actions/checkout@v3
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm version
28+
- run: npm install
29+
- run: npm run generate-docs
30+
- run: npm test
31+
- run: npm run semantic-release-dry-run
32+
- name: Codecov
33+
uses: codecov/[email protected]
34+
if: matrix.reportCoverage

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"tsd-jsdoc": "2.5.0"
7676
},
7777
"engines": {
78-
"node": ">=16"
78+
"node": ">=17"
7979
},
8080
"release": {
8181
"branches": [

0 commit comments

Comments
 (0)