diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b2d2c855d..af1cafa55 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,7 +18,7 @@ on: jobs: deploy-context: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 outputs: env-name: ${{ steps.deploy-env.outputs.name }} api_url: ${{ steps.base-urls.outputs.api }} @@ -39,7 +39,7 @@ jobs: API_BASE_URL: ${{ needs.deploy-context.outputs.api_url }} VITE_FR_BASE_URL: ${{ needs.deploy-context.outputs.fr_url }} VITE_EN_BASE_URL: ${{ needs.deploy-context.outputs.en_url }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install @@ -89,7 +89,7 @@ jobs: env: VITE_FR_BASE_URL: ${{ needs.deploy-context.outputs.fr_url }} VITE_EN_BASE_URL: ${{ needs.deploy-context.outputs.en_url }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install @@ -109,7 +109,7 @@ jobs: if-no-files-found: error build-api: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install @@ -124,7 +124,7 @@ jobs: deploy-preview: needs: [build, build-storybook, deploy-context] - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 if: needs.deploy-context.outputs.env-name != 'master' strategy: matrix: @@ -160,7 +160,7 @@ jobs: deploy-prod: needs: [build, build-storybook, deploy-context] - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 if: needs.deploy-context.outputs.env-name == 'master' steps: - uses: actions/checkout@v3 @@ -188,7 +188,7 @@ jobs: timeout-minutes: 1 post-comment: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 if: github.event_name == 'pull_request' needs: [deploy-preview, deploy-context] steps: @@ -217,7 +217,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 # We need to specify always() https://github.com/actions/runner/issues/491 if: always() && needs.deploy-preview.result == 'success' needs: [deploy-context, deploy-preview] @@ -285,7 +285,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 # We need to specify always() https://github.com/actions/runner/issues/491 if: always() && needs.deploy-prod.result == 'success' needs: [deploy-context, deploy-prod] diff --git a/.github/workflows/pr-cleanup.yaml b/.github/workflows/pr-cleanup.yaml index 0c5ad70ec..2875cbd30 100644 --- a/.github/workflows/pr-cleanup.yaml +++ b/.github/workflows/pr-cleanup.yaml @@ -5,7 +5,7 @@ on: jobs: deploy-context: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 outputs: env-name: ${{ steps.deploy-env.outputs.name }} steps: @@ -14,7 +14,7 @@ jobs: algolia-rm-temp-index: needs: deploy-context - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 59a1d173d..4abf00ea8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -7,7 +7,7 @@ on: jobs: publish: if: ${{ github.event.workflow_run.conclusion == 'success' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: package: ['modele-social', 'exoneration-covid'] diff --git a/.github/workflows/test-external-integrations.yaml b/.github/workflows/test-external-integrations.yaml index f100ef900..2460ac2ff 100644 --- a/.github/workflows/test-external-integrations.yaml +++ b/.github/workflows/test-external-integrations.yaml @@ -8,7 +8,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f7e170099..b54792213 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,14 +3,14 @@ on: push jobs: lint: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install - run: yarn lint typecheck: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install @@ -23,14 +23,14 @@ jobs: - run: yarn test:type unit: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install - run: yarn test i18n: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install