From 3bf452615a92d0871b85ffabde2ee824cbe48d77 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Sat, 9 Apr 2022 19:58:11 +0200 Subject: [PATCH] chore: run actions on latest operating system versions --- .github/workflows/cd-teardown.yml | 2 +- .github/workflows/cd.yml | 12 ++++++------ .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cd-teardown.yml b/.github/workflows/cd-teardown.yml index bfeeb15d..80aebaf0 100644 --- a/.github/workflows/cd-teardown.yml +++ b/.github/workflows/cd-teardown.yml @@ -6,7 +6,7 @@ env: CI: true jobs: unpublish-npm: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.event.ref_type == 'branch' steps: - name: Prepare for unpublication from npm diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 92a577b7..11489755 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -13,7 +13,7 @@ env: CI: true jobs: prepare-deployment: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: tag-slug: ${{ steps.determine-npm-tag.outputs.tag-slug }} deployment-id: ${{ fromJson(steps.create-deployment.outputs.data).id }} @@ -42,7 +42,7 @@ jobs: echo "::set-output name=tag-slug::$(echo ${GITHUB_REF#refs/heads/} | tr -cd '[:alnum:]-')" publish-npm: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [prepare-deployment] outputs: version-nr: ${{ steps.determine-npm-version.outputs.version-nr }} @@ -134,7 +134,7 @@ jobs: echo "Done waiting — hopefully that was enough time for the follow-up jobs to install the just-published package, to verify that everything looks OK." verify-imports-node: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: node-version: [16.x, 14.x] @@ -164,7 +164,7 @@ jobs: node --unhandled-rejections=strict esmodule.mjs verify-imports-parcel: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [prepare-deployment, publish-npm] steps: - uses: actions/checkout@v2.3.4 @@ -191,7 +191,7 @@ jobs: path: .github/workflows/cd-packaging-tests/bundler-parcel/dist verify-imports-webpack: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [prepare-deployment, publish-npm] steps: - uses: actions/checkout@v2.3.4 @@ -219,7 +219,7 @@ jobs: # Run our Node-based end-to-end tests against the published package at least once, # to detect issues introduced by the build process: cd-end-to-end-tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: node-version: [14.x] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6355456..9bb59ff4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: # Available OS's: https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners - os: [ubuntu-20.04, windows-2019, macos-10.15] + os: [ubuntu-latest, windows-latest, macos-latest] node-version: [16.x, 14.x, 12.x] steps: - uses: actions/checkout@v2.3.4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5147df93..b8edce8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ env: CI: true jobs: prepare-deployment: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: deployment-id: ${{ fromJson(steps.create-deployment.outputs.data).id }} steps: @@ -30,7 +30,7 @@ jobs: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" publish-npm: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [prepare-deployment] steps: - uses: actions/checkout@v2.3.4 @@ -97,7 +97,7 @@ jobs: echo "Done waiting — hopefully that was enough time for the follow-up jobs to install the just-published package, to verify that everything looks OK." verify-imports-node: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: node-version: [16.x, 14.x] @@ -122,7 +122,7 @@ jobs: node --unhandled-rejections=strict esmodule.mjs verify-imports-parcel: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [prepare-deployment, publish-npm] steps: - uses: actions/checkout@v2.3.4 @@ -142,7 +142,7 @@ jobs: path: .github/workflows/cd-packaging-tests/bundler-parcel/dist verify-imports-webpack: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [prepare-deployment, publish-npm] steps: - uses: actions/checkout@v2.3.4 @@ -165,7 +165,7 @@ jobs: # Run our Node-based end-to-end tests against the published package at least once, # to detect issues introduced by the build process: cd-end-to-end-tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: node-version: [16.x]