@@ -18,11 +18,11 @@ jobs:
1818 with :
1919 submodules : true
2020
21- - name : Use Node.js 14
21+ - name : Use Node.js 16
2222 uses : actions/setup-node@v3
2323 with :
2424 cache : yarn
25- node-version : 14
25+ node-version : 16
2626 registry-url : https://registry.npmjs.org/
2727
2828 - name : Install dependencies
3636 build :
3737 strategy :
3838 matrix :
39- node-version : [14]
4039 os : [ubuntu-20.04, macos-11, windows-2019]
41- include :
42- - node-version : 16
43- os : macos-m1
4440
4541 name : Build on ${{ matrix.os }}
4642 runs-on : ${{ matrix.os }}
@@ -51,11 +47,11 @@ jobs:
5147 with :
5248 submodules : true
5349
54- - name : Use Node.js ${{ matrix.node-version }}
50+ - name : Use Node.js 16
5551 uses : actions/setup-node@v3
5652 with :
5753 cache : yarn
58- node-version : ${{ matrix.node-version }}
54+ node-version : 16
5955
6056 - name : Install dependencies
6157 run : yarn install --frozen-lockfile
7470 name : Build on Alpine Linux
7571 runs-on : ubuntu-latest
7672 container :
77- image : node:14 -alpine
73+ image : node:16 -alpine
7874
7975 steps :
8076 - name : Install build deps
@@ -130,13 +126,13 @@ jobs:
130126 ubuntu*|jessie|stretch|buster)
131127 apt-get update -y
132128 apt-get install -y curl
133- curl -fsSL https://deb.nodesource.com/setup_14 .x | bash -
129+ curl -fsSL https://deb.nodesource.com/setup_16 .x | bash -
134130 apt-get install -y make g++ python nodejs
135131 npm install --global yarn
136132 ;;
137133 alpine*)
138134 apk add --update make g++ python3
139- apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.13/main/ nodejs~=14 npm~=14
135+ apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.13/main/ nodejs~=16 npm~=16
140136 npm install --global yarn
141137 ;;
142138 esac
@@ -167,7 +163,7 @@ jobs:
167163 with :
168164 envs : ' npm_config_build_from_source'
169165 prepare : |
170- pkg install -y gmake python3 yarn-node14
166+ pkg install -y gmake python3 yarn-node16
171167 run : |
172168 yarn install --frozen-lockfile
173169 yarn node-pre-gyp package
0 commit comments