editor.js/.github/workflows/cypress.yml

37 lines
949 B
YAML
Raw Normal View History

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:
config: video=false
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:
config: video=false
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:
config: video=false
browser: edge
build: yarn build