Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 475a838

Browse files
committed
chore: update node versions. Support node v16
1 parent 0a8068b commit 475a838

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: ["12.19.0", "14.15.0", "15.2.0"]
14+
node: ["12.22.1", "14.17.0", "15.14.0", "16.1.0"]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
@@ -68,7 +68,7 @@ jobs:
6868
- name: Download test results
6969
uses: actions/download-artifact@v2
7070
with:
71-
name: coverage-15.2.0
71+
name: coverage-16.1.0
7272
path: coverage
7373
- name: Coveralls
7474
uses: coverallsapp/github-action@master

.github/workflows/check-package-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v2
1212
- name: Get NPM version is new
1313
id: check
14-
uses: EndBug/version-check@v1.6.0
14+
uses: EndBug/version-check@v2.0.1
1515
with:
1616
diff-search: true
1717
file-name: ./package.json

.github/workflows/publish-to-github.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
- run: npm ci
1011
- uses: actions/setup-node@v2
1112
with:
12-
node-version: '12.x'
13+
node-version: '14.x'
1314
registry-url: 'https://npm.pkg.github.com'
1415
# Defaults to the user or organization that owns the workflow file
1516
scope: '@mocks-server'

.github/workflows/publish-to-npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
- run: npm ci
1011
- uses: actions/setup-node@v2
1112
with:
12-
node-version: '12.x'
13+
node-version: '14.x'
1314
registry-url: 'https://registry.npmjs.org/'
1415
- run: npm publish
1516
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@
6666
}
6767
},
6868
"engines": {
69-
"node": "12.x || 14.x || 15.x"
69+
"node": "12.x || 14.x || 15.x || 16.x"
7070
}
7171
}

0 commit comments

Comments
 (0)