mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 14:45:47 +01:00
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
This commit is contained in:
parent
a04c37b30b
commit
fb2bf8f116
5 changed files with 17 additions and 6 deletions
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
# If pull request was merged then we should check for a package version update
|
||||
check-for-no-version-changing:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
|
|
|
|||
2
.github/workflows/create-a-release-draft.yml
vendored
2
.github/workflows/create-a-release-draft.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
# If pull request was merged then we should check for a package version update
|
||||
check-version-changing:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
|
|
|
|||
11
.github/workflows/cypress.yml
vendored
11
.github/workflows/cypress.yml
vendored
|
|
@ -8,12 +8,19 @@ jobs:
|
|||
matrix:
|
||||
browser: [firefox, chrome, edge]
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Firefox
|
||||
if: matrix.browser == 'firefox'
|
||||
uses: browser-actions/setup-firefox@v1
|
||||
with:
|
||||
firefox-version: '115.0esr'
|
||||
|
||||
- uses: cypress-io/github-action@v6
|
||||
with:
|
||||
config: video=false
|
||||
|
|
|
|||
6
.github/workflows/eslint.yml
vendored
6
.github/workflows/eslint.yml
vendored
|
|
@ -5,10 +5,14 @@ on: [pull_request]
|
|||
jobs:
|
||||
lint:
|
||||
name: ESlint
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/publish-package-to-npm.yml
vendored
2
.github/workflows/publish-package-to-npm.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout to target branch
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue