Skip to content

Commit bf9f170

Browse files
committed
Merge pull request #290 from laminas/renovate/actions-download-artifact-4.x
Update actions/download-artifact and actions/upload-artifact action to v4
2 parents f45fba4 + 6ca5da6 commit bf9f170

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
cache-to: type=gha,mode=max
5555

5656
- name: Upload container artifact
57-
uses: actions/upload-artifact@v3
57+
uses: actions/upload-artifact@v4
5858
with:
5959
name: container
6060
path: /tmp/container.tar
@@ -72,7 +72,7 @@ jobs:
7272
uses: actions/checkout@v4
7373

7474
- name: Download container artifact
75-
uses: actions/download-artifact@v3
75+
uses: actions/download-artifact@v4
7676
with:
7777
name: container
7878
path: /tmp
@@ -136,7 +136,7 @@ jobs:
136136
- uses: "actions/setup-node@v4"
137137
with:
138138
check-latest: true
139-
node-version: 20
139+
node-version: 21
140140
- name: "Install node modules"
141141
run: "npm ci"
142142
- name: Run ESLint
@@ -149,7 +149,7 @@ jobs:
149149
- uses: "actions/setup-node@v4"
150150
with:
151151
check-latest: true
152-
node-version: 20
152+
node-version: 21
153153
- name: "Install node modules"
154154
run: "npm ci"
155155
- name: Run Jest

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ COPY package*.json ./
66
COPY tsconfig.json ./
77
COPY webpack.config.ts ./
88
RUN npm ci
9+
RUN apk add --no-cache jq && npx semver -r $(jq -r '.packages."".engines.node' package-lock.json) $(node -v) || (echo "ERROR: package-lock.json is not synchronized with Dockerfile node version." && exit 1)
910
COPY ./src ./src
1011
RUN npm run build
1112

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"engines": {
1111
"npm": "^10.0.0",
12-
"node": "^20.2.0"
12+
"node": "^21.7.0"
1313
},
1414
"dependencies": {
1515
"@actions/core": "^1.10.0",

0 commit comments

Comments
 (0)