Skip to content

Commit

Permalink
Merge pull request #290 from laminas/renovate/actions-download-artifa…
Browse files Browse the repository at this point in the history
…ct-4.x

Update actions/download-artifact and actions/upload-artifact action to v4
  • Loading branch information
boesing committed Apr 24, 2024
2 parents f45fba4 + 6ca5da6 commit bf9f170
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Upload container artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: container
path: /tmp/container.tar
Expand All @@ -72,7 +72,7 @@ jobs:
uses: actions/checkout@v4

- name: Download container artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: container
path: /tmp
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- uses: "actions/setup-node@v4"
with:
check-latest: true
node-version: 20
node-version: 21
- name: "Install node modules"
run: "npm ci"
- name: Run ESLint
Expand All @@ -149,7 +149,7 @@ jobs:
- uses: "actions/setup-node@v4"
with:
check-latest: true
node-version: 20
node-version: 21
- name: "Install node modules"
run: "npm ci"
- name: Run Jest
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ COPY package*.json ./
COPY tsconfig.json ./
COPY webpack.config.ts ./
RUN npm ci
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)
COPY ./src ./src
RUN npm run build

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"engines": {
"npm": "^10.0.0",
"node": "^20.2.0"
"node": "^21.7.0"
},
"dependencies": {
"@actions/core": "^1.10.0",
Expand Down

0 comments on commit bf9f170

Please sign in to comment.