editor.js/.github/workflows/cypress.yml
Peter Savchenko 03fb54b474
chore(submodules): pull master to the tools (#1742)
* chore(submodules): pull master to the tools

* add tools:update command

* make command for tools updating

* rm nested list submodule

* fix cypress workflow

* fix package json command

* fix ci
2021-08-07 13:51:05 +03:00

34 lines
859 B
YAML

name: Tests
on: [pull_request]
jobs:
firefox:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node14.16.0-chrome89-ff86
options: --user 1001
steps:
- uses: actions/checkout@v2
- run: yarn pull_tools && yarn tools:update
- uses: cypress-io/github-action@v2
with:
browser: firefox
build: yarn build
chrome:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
- run: yarn pull_tools && yarn tools:update
- uses: cypress-io/github-action@v2
with:
browser: chrome
build: yarn build
edge:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: yarn pull_tools && yarn tools:update
- uses: cypress-io/github-action@v2
with:
browser: edge
build: yarn build