Skip to content

Commit 09881ab

Browse files
committed
Use ubuntu-latest instead of fixed version
1 parent 31f3c95 commit 09881ab

6 files changed

+8
-8
lines changed

.github/workflows/auto-git-release-production.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
tag-and-release:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-latest
1717
steps:
1818
- name: Fetching all commits for the current branch
1919
uses: actions/checkout@v3

.github/workflows/auto-git-release-staging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
tag-and-release:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-latest
1717
steps:
1818
- name: Fetching all commits for the current branch
1919
uses: actions/checkout@v3

.github/workflows/check-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
version: [ 16, 18, 20 ]
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v3
2020
- run: |

.github/workflows/run-integration-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
version: [ 16, 18, 20 ]
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v3
2121
- run: yarn # Install all dependencies

.github/workflows/update-codeclimate-coverage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
# Ex: Necessary to run `yarn test:coverage`
1717
setup-environment:
1818
name: Setup deployment environment (Ubuntu 22.04 - Node 20.x)
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-latest
2020
steps:
2121
- name: Installing node.js
2222
uses: actions/setup-node@v3 # Used to install node environment - XXX https://github.com/actions/setup-node
2323
with:
2424
node-version: 20 # Use the same node.js version as the one Vercel's uses (currently node20.x)
2525
run-tests-coverage:
2626
name: Run tests coverage and send report to Code Climate
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v3
3030
- name: Installing dependencies

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
```yaml
1414
jobs:
1515
wait-for-vercel-deployment:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-latest
1717
steps:
1818
- uses: UnlyEd/github-action-await-vercel@v1 # TODO best practices recommend to use a fixed version instead of @v1 for production usage (i.e: @v1.2.32)
1919
id: await-vercel
@@ -116,7 +116,7 @@ on:
116116
117117
jobs:
118118
wait-for-vercel-deployment:
119-
runs-on: ubuntu-22.04
119+
runs-on: ubuntu-latest
120120
steps:
121121
- name: Retrieve deployment URL (example on how to set an ENV var)
122122
run: "echo VERCEL_DEPLOYMENT_URL=nextjs-bzyss249z.vercel.app >> $GITHUB_ENV"

0 commit comments

Comments
 (0)