@@ -11,31 +11,26 @@ jobs:
11
11
strategy :
12
12
fail-fast : false
13
13
runs-on : ubuntu-latest
14
- container : ubuntu:18 .04
14
+ container : ubuntu:22 .04
15
15
steps :
16
16
- name : Print Tag Ref
17
17
run : echo ${{ github.ref }}
18
18
19
19
- name : Install Dependencies for Ubuntu
20
20
# git >= 2.18 required for actions/checkout git support
21
- run : apt update && apt install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt update && apt install -y git wget build-essential clang python3 libkrb5-dev libc++-dev zlib1g-dev libssl-dev
21
+ run : apt update && apt install -y software-properties-common git wget build-essential clang python3 libkrb5-dev libc++-dev zlib1g-dev libssl-dev
22
22
env :
23
23
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
24
24
25
- # v4 requires node 20, which won't run due to GLIBC 2.28+ requirement
26
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
27
26
28
- # v4 requires node 20, which won't run due to GLIBC 2.28+ requirement
29
- - name : Use Node.js 16
30
- uses : actions/setup-node@v3
27
+ - name : Use Node.js 20
28
+ uses : actions/setup-node@v4
31
29
env :
32
30
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
33
31
with :
34
- node-version : 16
35
-
36
- # We're running in docker without other users
37
- - name : Set npm config
38
- run : npm config set unsafe-perm true
32
+ node-version : 20
33
+ architecture : ${{ matrix.arch }}
39
34
40
35
- run : git config --global --add safe.directory /__w/electron-npg-automator/electron-npg-automator
41
36
- run : npm install
@@ -94,12 +89,12 @@ jobs:
94
89
95
90
- uses : actions/checkout@v4
96
91
97
- - name : Use Node.js 16
92
+ - name : Use Node.js 20
98
93
uses : actions/setup-node@v4
99
94
env :
100
95
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
101
96
with :
102
- node-version : 16
97
+ node-version : 20
103
98
architecture : ${{ matrix.arch }}
104
99
105
100
- name : Use Python 3.11 # node-gyp < 10 breaks with 3.12
@@ -162,12 +157,12 @@ jobs:
162
157
163
158
- uses : actions/checkout@v4
164
159
165
- - name : Use Node.js 16
160
+ - name : Use Node.js 20
166
161
uses : actions/setup-node@v4
167
162
env :
168
163
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
169
164
with :
170
- node-version : 16
165
+ node-version : 20
171
166
architecture : ${{ matrix.arch }}
172
167
173
168
- name : Use Python 3.11 # node-gyp < 10 breaks with 3.12
0 commit comments