Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Commit 18d819c

Browse files
committed
build: Update Node.js versions
Update the Node.js versions in the build workflow to use Node.js 21.x instead of 16.x. This update ensures compatibility with the latest version of Node.js. Additionally, the actions/checkout and actions/setup-node actions have been updated to their latest respective versions (v4). The actions/upload-artifact and actions/download-artifact actions have also been updated to use versions v4, and the platforms option in the docker/build-push-action has been added with values for linux/amd64 and linux/arm64.
1 parent 77d43b5 commit 18d819c

File tree

167 files changed

+12035
-12008
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+12035
-12008
lines changed

.github/workflows/build.yml

+14-13
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ jobs:
77
if: ${{ github.event_name == 'pull_request' }}
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
11-
- uses: actions/setup-node@v1
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 16.x
13+
node-version: 21.x
1414
- run: yarn install --check-cache
1515
build:
16-
name: "Build on JNode.JS 16.x"
16+
name: "Build on JNode.JS 21.x"
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-node@v1
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 16.x
22+
node-version: 21.x
2323
- run: yarn install
2424
- run: yarn run build
25-
- uses: actions/upload-artifact@v2
25+
- uses: actions/upload-artifact@v4
2626
with:
2727
name: "Frontend Application"
2828
path: "dist/"
@@ -32,22 +32,23 @@ jobs:
3232
runs-on: ubuntu-latest
3333
needs: build
3434
steps:
35-
- uses: actions/checkout@v2
36-
- uses: actions/download-artifact@v2
35+
- uses: actions/checkout@v4
36+
- uses: actions/download-artifact@v4
3737
with:
3838
name: "Frontend Application"
3939
path: "dist/"
4040
- name: "Set up Docker Buildx"
41-
uses: docker/setup-buildx-action@v1
41+
uses: docker/setup-buildx-action@v3
4242
- name: "Login to GHCR"
43-
uses: docker/login-action@v1
43+
uses: docker/login-action@v3
4444
with:
4545
registry: ghcr.io
4646
username: ${{ github.repository_owner }}
4747
password: ${{ secrets.GITHUB_TOKEN }}
4848
- name: "Build and push"
49-
uses: docker/build-push-action@v2
49+
uses: docker/build-push-action@v5
5050
with:
51+
platforms: linux/amd64,linux/arm64
5152
push: true
5253
context: .
5354
tags: ghcr.io/heapy/kotlin_jobs:main

0 commit comments

Comments
 (0)