Skip to content

Commit fb2bf8f

Browse files
authored
ci: update deprecated GitHub Actions runners (#2974)
* ci: update deprecated GitHub Actions runners ci: update GitHub Actions runners from ubuntu-20.04 to ubuntu-latest * fix: pin Node 18 in CI workflows for eslint compatibility * fix(ci): pin Firefox 115 ESR for Cypress compatibility
1 parent a04c37b commit fb2bf8f

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

.github/workflows/bump-version-on-merge-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# If pull request was merged then we should check for a package version update
1818
check-for-no-version-changing:
1919
if: github.event.pull_request.merged == true
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-latest
2121
permissions:
2222
actions: write
2323
steps:

.github/workflows/create-a-release-draft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# If pull request was merged then we should check for a package version update
1818
check-version-changing:
1919
if: github.event.pull_request.merged == true
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-latest
2121
permissions:
2222
actions: write
2323
steps:

.github/workflows/cypress.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,19 @@ jobs:
88
matrix:
99
browser: [firefox, chrome, edge]
1010

11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
steps:
13+
- uses: actions/checkout@v4
1314
- uses: actions/setup-node@v3
1415
with:
1516
node-version: 18
16-
- uses: actions/checkout@v4
17+
18+
- name: Setup Firefox
19+
if: matrix.browser == 'firefox'
20+
uses: browser-actions/setup-firefox@v1
21+
with:
22+
firefox-version: '115.0esr'
23+
1724
- uses: cypress-io/github-action@v6
1825
with:
1926
config: video=false

.github/workflows/eslint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ on: [pull_request]
55
jobs:
66
lint:
77
name: ESlint
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
1111

12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: 18
15+
1216
- name: Cache dependencies
1317
uses: actions/cache@v4
1418
with:

.github/workflows/publish-package-to-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
publish:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
# Checkout to target branch
1313
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)