Skip to content

Commit 5a5a213

Browse files
authored
Update CI component versions (#1200)
* Update CI component versions * Fix ci.yml yaml syntax
1 parent fb27e72 commit 5a5a213

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

.github/workflows/ci-win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ jobs:
77
timeout-minutes: 30
88
strategy:
99
matrix:
10-
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
10+
node-version: [14.x, 16.x, 18.x]
1111
os:
1212
- windows-2019
1313
runs-on: ${{ matrix.os }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v2.1.5
17+
uses: actions/setup-node@v3
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020
- name: Check Node.js installation

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ jobs:
77
timeout-minutes: 30
88
strategy:
99
matrix:
10-
node-version:
11-
- node/12
12-
- node/14
13-
- node/16
10+
node-version: [14.x, 16.x, 18.x]
1411
compiler:
1512
- gcc
1613
- clang
1714
os:
18-
- ubuntu-18.04
15+
- ubuntu-latest
1916
- macos-latest
2017
runs-on: ${{ matrix.os }}
2118
steps:
22-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2320
- name: Install system dependencies
2421
run: |
2522
if [ "${{ matrix.compiler }}" = "gcc" -a "${{ matrix.os }}" = ubuntu-* ]; then
@@ -28,14 +25,15 @@ jobs:
2825
sudo apt-get install g++-6.5
2926
fi
3027
- name: Use Node.js ${{ matrix.node-version }}
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
- name: Check Node.js installation
3132
run: |
32-
git clone --branch v1.4.2 --depth 1 https://github.com/jasongin/nvs ~/.nvs
33-
. ~/.nvs/nvs.sh
34-
nvs --version
35-
nvs add ${{ matrix.node-version }}
36-
nvs use ${{ matrix.node-version }}
3733
node --version
3834
npm --version
35+
- name: Install dependencies
36+
run: |
3937
npm install
4038
- name: npm test
4139
run: |

.github/workflows/linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ jobs:
77
if: github.repository == 'nodejs/node-addon-api'
88
strategy:
99
matrix:
10-
node-version: [14.x]
10+
node-version: [16.x]
1111
os: [ubuntu-latest]
1212

1313
runs-on: ${{ matrix.os }}
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818
- run: git branch -a
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v1
20+
uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
- run: npm install

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v4
10+
- uses: actions/stale@v5
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
1313
stale-issue-message: 'This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.'

0 commit comments

Comments
 (0)