diff --git a/.github/workflows/auto-git-release-production.yml b/.github/workflows/auto-git-release-production.yml index 117d8904..881a0780 100644 --- a/.github/workflows/auto-git-release-production.yml +++ b/.github/workflows/auto-git-release-production.yml @@ -13,7 +13,7 @@ on: jobs: tag-and-release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Fetching all commits for the current branch uses: actions/checkout@v3 diff --git a/.github/workflows/auto-git-release-staging.yml b/.github/workflows/auto-git-release-staging.yml index cf8a61c4..99298bb0 100644 --- a/.github/workflows/auto-git-release-staging.yml +++ b/.github/workflows/auto-git-release-staging.yml @@ -13,7 +13,7 @@ on: jobs: tag-and-release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Fetching all commits for the current branch uses: actions/checkout@v3 diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index c4a1b497..f9eaa369 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: version: [ 16, 18, 20 ] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: | diff --git a/.github/workflows/run-integration-test.yml b/.github/workflows/run-integration-test.yml index 5d0bac58..6bafffb5 100644 --- a/.github/workflows/run-integration-test.yml +++ b/.github/workflows/run-integration-test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: version: [ 16, 18, 20 ] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: yarn # Install all dependencies diff --git a/.github/workflows/update-codeclimate-coverage.yml b/.github/workflows/update-codeclimate-coverage.yml index 02385fba..35f24c98 100644 --- a/.github/workflows/update-codeclimate-coverage.yml +++ b/.github/workflows/update-codeclimate-coverage.yml @@ -15,16 +15,16 @@ jobs: # Configures the deployment environment, install dependencies (like node, npm, etc.) that are requirements for the upcoming jobs # Ex: Necessary to run `yarn test:coverage` setup-environment: - name: Setup deployment environment (Ubuntu 22.04 - Node 18.x) - runs-on: ubuntu-22.04 + name: Setup deployment environment (Ubuntu 22.04 - Node 20.x) + runs-on: ubuntu-latest steps: - name: Installing node.js uses: actions/setup-node@v3 # Used to install node environment - XXX https://github.com/actions/setup-node with: - node-version: 18 # Use the same node.js version as the one Vercel's uses (currently node18.x) + node-version: 20 # Use the same node.js version as the one Vercel's uses (currently node20.x) run-tests-coverage: name: Run tests coverage and send report to Code Climate - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Installing dependencies diff --git a/.nvmrc b/.nvmrc index 3f430af8..9a2a0e21 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20 diff --git a/README.md b/README.md index 96ca4015..4b15f801 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ```yaml jobs: wait-for-vercel-deployment: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - 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) id: await-vercel @@ -116,7 +116,7 @@ on: jobs: wait-for-vercel-deployment: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Retrieve deployment URL (example on how to set an ENV var) run: "echo VERCEL_DEPLOYMENT_URL=nextjs-bzyss249z.vercel.app >> $GITHUB_ENV" diff --git a/action.yml b/action.yml index 7646a999..0b561556 100644 --- a/action.yml +++ b/action.yml @@ -19,5 +19,5 @@ outputs: deploymentDetails: description: 'Forwarded Vercel API response - See https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters' runs: - using: 'node16' + using: 'node20' main: 'github-action-runtime/index.js'