@@ -23,22 +23,26 @@ jobs:
2323 node-version : [10, 12, 14, 16]
2424 include :
2525 - os : macos-latest
26- node_version : 14
26+ node_version : 16
2727 - os : windows-latest
28- node_version : 14
28+ node_version : 16
2929 fail-fast : false
3030 steps :
3131 - uses : actions/checkout@v2
3232 - name : Use Node.js ${{ matrix.node-version }}
3333 uses : actions/setup-node@v1
3434 with :
3535 node-version : ${{ matrix.node-version }}
36+ - name : Update NPM (Node.js v10)
37+ if : matrix.node-version == '10'
38+ run : npm install --global npm@7
3639 - name : Update NPM
37- if : matrix.os != 'macos-latest'
38- run : npm install --global npm
39- - name : Update NPM (macOS)
40- if : matrix.os == 'macos-latest'
41- run : npm install --global --force npm
40+ # if: matrix.os != 'macos-latest'
41+ if : matrix.node-version != '10'
42+ run : npm install --global npm@8
43+ # - name: Update NPM (macOS)
44+ # if: matrix.os == 'macos-latest'
45+ # run: npm install --global --force npm
4246 - name : Bootstrap project
4347 run : npm ci --ignore-scripts
4448 - name : Run tests
@@ -67,10 +71,10 @@ jobs:
6771 runs-on : ubuntu-latest
6872 steps :
6973 - uses : actions/checkout@v2
70- - name : Use Node.js 14
74+ - name : Use Node.js 16
7175 uses : actions/setup-node@v2
7276 with :
73- node-version : 14
77+ node-version : 16
7478 - name : Bootstrap project
7579 run : npm ci --ignore-scripts
7680 - name : Verify code linting
@@ -83,10 +87,10 @@ jobs:
8387 - uses : actions/checkout@v2
8488 with :
8589 fetch-depth : 0
86- - name : Use Node.js 14
90+ - name : Use Node.js 16
8791 uses : actions/setup-node@v2
8892 with :
89- node-version : 14
93+ node-version : 16
9094 - name : Bootstrap project
9195 run : npm ci --ignore-scripts
9296 - name : Verify commit linting
0 commit comments