editor.js/.github/workflows/cypress.yml
Ilya Maroz d7f1853ca1
deps(Cypress): upgrade library and related packages to latest versions, migrate config, fix type error (#2327)
* deps: upgrade cypress and related libraries

* chore: automate migrate cypress config, rename spec files

* fix: custom commands types

* chore: upgrade CHANGELOG.md

* ci: upgrade cypress action to support new config file format

* ci: remove container from firefox job, upgrade checkout action
2023-04-02 19:20:59 +01:00

43 lines
1 KiB
YAML

name: Tests
on: [pull_request]
jobs:
firefox:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
- run: yarn ci:pull_paragraph
- uses: cypress-io/github-action@v5
with:
config: video=false
browser: firefox
build: yarn build
chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
- run: yarn ci:pull_paragraph
- uses: cypress-io/github-action@v5
with:
config: video=false
browser: chrome
build: yarn build
edge:
runs-on: windows-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
- run: yarn ci:pull_paragraph
- uses: cypress-io/github-action@v5
with:
config: video=false
browser: edge
build: yarn build