Skip to content

Commit db83af7

Browse files
committed
chore(workflow): update GitHub actions to use Node.js 20
1 parent ec7ae6c commit db83af7

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/integration.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
steps:
2020

2121
# Use specific Node.js version
22-
- uses: actions/checkout@v3
23-
- name: Use Node.js 18.x
24-
uses: actions/setup-node@v3
22+
- uses: actions/checkout@v4
23+
- name: Use Node.js 20.x
24+
uses: actions/setup-node@v4
2525
with:
26-
node-version: 18.x
26+
node-version: 20.x
2727
cache: 'npm'
2828

2929
# Install packages
@@ -51,7 +51,7 @@ jobs:
5151
# Prepare archive for deploying
5252
- name: Archive production artifacts
5353
if: ${{ success() }}
54-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: dist-itowns
5757
path: |
@@ -84,11 +84,11 @@ jobs:
8484
steps:
8585

8686
# Use specific Node.js version
87-
- uses: actions/checkout@v3
88-
- name: Use Node.js 18.x
89-
uses: actions/setup-node@v3
87+
- uses: actions/checkout@v4
88+
- name: Use Node.js 20.x
89+
uses: actions/setup-node@v4
9090
with:
91-
node-version: 18.x
91+
node-version: 20.x
9292
cache: 'npm'
9393

9494
# Install packages
@@ -114,11 +114,11 @@ jobs:
114114
steps:
115115

116116
# Use specific Node.js version
117-
- uses: actions/checkout@v3
118-
- name: Use Node.js 18.x
119-
uses: actions/setup-node@v3
117+
- uses: actions/checkout@v4
118+
- name: Use Node.js 20.x
119+
uses: actions/setup-node@v4
120120
with:
121-
node-version: 18.x
121+
node-version: 20.x
122122
cache: 'npm'
123123

124124
# Install packages
@@ -127,7 +127,7 @@ jobs:
127127

128128
# Download artifact from build
129129
- name: Download itowns bundle
130-
uses: actions/download-artifact@v3
130+
uses: actions/download-artifact@v4
131131
with:
132132
name: dist-itowns
133133

@@ -149,17 +149,17 @@ jobs:
149149
contents: write
150150
steps:
151151

152-
- uses: actions/checkout@v3
152+
- uses: actions/checkout@v4
153153
with:
154154
# fetch all branches
155155
fetch-depth: 0
156156

157157
# Configure git user for later command induced commits
158-
- uses: fregante/setup-git-user@v1
158+
- uses: fregante/setup-git-user@v2
159159

160-
- uses: actions/setup-node@v3
160+
- uses: actions/setup-node@v4
161161
with:
162-
node-version: 18
162+
node-version: 20.x
163163
registry-url: https://registry.npmjs.org/
164164

165165
- run: npm ci
@@ -202,7 +202,7 @@ jobs:
202202

203203
# Download artifact from build
204204
- name: Download itowns bundle
205-
uses: actions/download-artifact@v3
205+
uses: actions/download-artifact@v4
206206
with:
207207
name: dist-itowns
208208

@@ -261,12 +261,12 @@ jobs:
261261
runs-on: ubuntu-latest
262262
steps:
263263

264-
- uses: actions/checkout@v3
264+
- uses: actions/checkout@v4
265265

266-
- name: Use Node.js 18.x
267-
uses: actions/setup-node@v3
266+
- name: Use Node.js 20.x
267+
uses: actions/setup-node@v4
268268
with:
269-
node-version: 18.x
269+
node-version: 20.x
270270

271271
- name: Message commit
272272
run: echo "is RELEASE => ${{ github.event.head_commit.message }} !!"
@@ -288,7 +288,7 @@ jobs:
288288
289289
# Download artifact from build
290290
- name: Download itowns bundle
291-
uses: actions/download-artifact@v3
291+
uses: actions/download-artifact@v4
292292
with:
293293
name: dist-itowns
294294

0 commit comments

Comments
 (0)