Skip to content

Commit

Permalink
chore: run actions on latest operating system versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsMissEm committed Apr 14, 2022
1 parent 9d48cc4 commit 3bf4526
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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]
Expand Down

0 comments on commit 3bf4526

Please sign in to comment.