From b42e139f5af0050481d1ed4419af30ee9ca5235e Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Thu, 26 Sep 2024 12:25:58 +0700 Subject: [PATCH] Update docker.yml (#1510) * Update docker.yml * Update nodejs.yml --- .github/workflows/docker.yml | 4 ++-- .github/workflows/nodejs.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fe84e267..6a209c61 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -10,14 +10,14 @@ env: IMAGE_NAME: my-personal-web jobs: docker-build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ github.event_name == 'pull_request' }} steps: - uses: actions/checkout@v4 - name: Run tests run: docker build . --file Dockerfile push: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: github.event_name == 'push' steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ec68f9bd..d286db63 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: node-version: ['20.x', '22.x'] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} @@ -28,7 +28,7 @@ jobs: name: deployment path: dist/* test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ github.event_name == 'pull_request' }} strategy: matrix: @@ -55,7 +55,7 @@ jobs: - uses: codecov/codecov-action@v4 if: ${{ matrix.node-version == '20.x' }} publish: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: build if: ${{ github.event_name == 'push' }} steps: