99 strategy :
1010 matrix :
1111 os : [macos-10.15, ubuntu-20.04, ubuntu-18.04, windows-2019]
12- node : [12, 13, 14, 15, 16]
12+ node : [12, 13, 14, 15, 16, 17, 18 ]
1313 steps :
1414 - name : Checkout repository
15- uses : actions/checkout@v2
15+ uses : actions/checkout@v3
1616
1717 - name : Install Node v${{ matrix.node }}
18- uses : actions/setup-node@v2
18+ uses : actions/setup-node@v3
1919 with :
2020 node-version : ${{ matrix.node }}
2121
@@ -26,11 +26,11 @@ jobs:
2626 run : npm run build
2727
2828 - name : Upload prebuild asset
29- uses : icrawl/action-artifact@v2
29+ uses : icrawl/action-artifact@v3
3030 env :
3131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3232 with :
33- path : " build/stage/**/*.tar.gz"
33+ path : ' build/stage/**/*.tar.gz'
3434
3535 build_musl_x86_64 :
3636 name : Prebuild x86_64(musl)
@@ -39,15 +39,15 @@ jobs:
3939 image : node:${{ matrix.node }}-alpine
4040 strategy :
4141 matrix :
42- node : [12, 13, 14, 15, 16]
42+ node : [12, 13, 14, 15, 16, 17, 18 ]
4343 steps :
4444 - name : Setup env with Node v${{ matrix.node }}
4545 run : |
4646 apk add --update
4747 apk add --no-cache ca-certificates git curl build-base python3 g++ make
4848
4949 - name : Checkout repository
50- uses : actions/checkout@v2
50+ uses : actions/checkout@v3
5151
5252 - name : Install dependencies
5353 run : npm install --unsafe-perm --build-from-source
@@ -56,26 +56,25 @@ jobs:
5656 run : npm run build
5757
5858 - name : Upload prebuild asset
59- uses : icrawl/action-artifact@v2
59+ uses : icrawl/action-artifact@v3
6060 env :
6161 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6262 with :
63- path : " build/stage/**/*.tar.gz"
63+ path : ' build/stage/**/*.tar.gz'
6464
65-
6665 build_aarch64 :
6766 name : Prebuild aarch64
6867 runs-on : ${{ matrix.os }}
6968 strategy :
7069 matrix :
71- os : [ubuntu-20 .04, ubuntu-18 .04]
72- node : [12, 13, 14, 15, 16]
70+ os : [ubuntu-18 .04, ubuntu-20 .04]
71+ node : [12, 13, 14, 15, 16, 17, 18 ]
7372 steps :
7473 - name : Checkout repository
75- uses : actions/checkout@v2
74+ uses : actions/checkout@v3
7675
7776 - name : Install Node v${{ matrix.node }}
78- uses : actions/setup-node@v2
77+ uses : actions/setup-node@v3
7978 with :
8079 node-version : ${{ matrix.node }}
8180
@@ -88,11 +87,11 @@ jobs:
8887 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ npx node-pre-gyp --target_arch=arm64 configure build package
8988
9089 - name : Upload prebuild asset
91- uses : icrawl/action-artifact@v2
90+ uses : icrawl/action-artifact@v3
9291 env :
9392 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9493 with :
95- path : " build/stage/**/*.tar.gz"
94+ path : ' build/stage/**/*.tar.gz'
9695
9796 build_musl_aarch64 :
9897 name : Prebuild aarch64(musl)
@@ -101,15 +100,15 @@ jobs:
101100 image : node:${{ matrix.node }}-alpine
102101 strategy :
103102 matrix :
104- node : [12, 13, 14, 15, 16]
103+ node : [12, 13, 14, 15, 16, 17, 18 ]
105104 steps :
106105 - name : Setup env with Node v${{ matrix.node }}
107106 run : |
108107 apk add --update
109108 apk add --no-cache ca-certificates git curl build-base python3 g++ make
110109
111110 - name : Checkout repository
112- uses : actions/checkout@v2
111+ uses : actions/checkout@v3
113112
114113 - name : Setup musl cross compiler
115114 run : |
@@ -127,8 +126,8 @@ jobs:
127126 npx node-pre-gyp --target_arch=arm64 configure build package
128127
129128 - name : Upload prebuild asset
130- uses : icrawl/action-artifact@v2
129+ uses : icrawl/action-artifact@v3
131130 env :
132131 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
133132 with :
134- path : " build/stage/**/*.tar.gz"
133+ path : ' build/stage/**/*.tar.gz'
0 commit comments