mirror of
https://github.com/codex-team/editor.js
synced 2026-03-22 10:12:47 +01:00
* 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
28 lines
601 B
YAML
28 lines
601 B
YAML
name: Cypress
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
run-tests:
|
|
strategy:
|
|
matrix:
|
|
browser: [firefox, chrome, edge]
|
|
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
|
|
- 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
|
|
browser: ${{ matrix.browser }}
|
|
build: yarn build:test
|