Skip to content

Commit

Permalink
Update docker.yml (#1510)
Browse files Browse the repository at this point in the history
* Update docker.yml

* Update nodejs.yml
  • Loading branch information
berviantoleo authored Sep 26, 2024
1 parent cdb37c8 commit b42e139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit b42e139

Please sign in to comment.