mirror of
https://github.com/codex-team/editor.js
synced 2024-06-08 00:42:31 +02:00
Update cypress.yml
This commit is contained in:
parent
bcb0999b24
commit
a2c8331314
43
.github/workflows/cypress.yml
vendored
43
.github/workflows/cypress.yml
vendored
|
@ -1,33 +1,32 @@
|
||||||
name: Tests
|
name: Tests
|
||||||
|
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
firefox:
|
cypress:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
browser: [ firefox, chrome, edge ]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: cypress/browsers:node14.16.0-chrome89-ff86
|
image: cypress/browsers:node14.16.0-chrome89-ff86
|
||||||
options: --user 1001
|
options: --user 1001
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Install Node.js, NPM and Yarn
|
||||||
- run: yarn pull_tools
|
uses: actions/setup-node@v1
|
||||||
- uses: cypress-io/github-action@v2
|
|
||||||
with:
|
with:
|
||||||
browser: firefox
|
node-version: 15
|
||||||
build: yarn build
|
|
||||||
chrome:
|
- name: Checkout repo
|
||||||
runs-on: ubuntu-16.04
|
uses: actions/checkout@v2
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
- name: Pull Editor.js Tools
|
||||||
- run: yarn pull_tools
|
run: yarn pull_tools
|
||||||
- uses: cypress-io/github-action@v2
|
|
||||||
|
- name: Run cypress
|
||||||
|
uses: cypress-io/github-action@v2
|
||||||
with:
|
with:
|
||||||
browser: chrome
|
browser: ${{ matrix.browser }}
|
||||||
build: yarn build
|
|
||||||
edge:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- run: yarn pull_tools
|
|
||||||
- uses: cypress-io/github-action@v2
|
|
||||||
with:
|
|
||||||
browser: edge
|
|
||||||
build: yarn build
|
build: yarn build
|
||||||
|
|
Loading…
Reference in a new issue