chore(deps): bump semver from 5.7.1 to 5.7.2 #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
lint-and-test: | |
name: Node 16 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: yarn | |
- run: yarn lint | |
- run: yarn build | |
- run: yarn test | |
chrome: | |
name: Chrome | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cypress-io/[email protected] | |
with: | |
browser: chrome | |
build: yarn build | |
- uses: actions/upload-artifact@v1 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
- uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: cypress-videos | |
path: cypress/videos | |
edge: | |
name: Edge | |
runs-on: windows-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cypress-io/[email protected] | |
with: | |
browser: edge | |
build: yarn build | |
- uses: actions/upload-artifact@v1 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
- uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: cypress-videos | |
path: cypress/videos | |
firefox: | |
name: Firefox | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
container: | |
image: cypress/browsers:node16.5.0-chrome94-ff93 | |
options: --user 1001 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cypress-io/[email protected] | |
with: | |
browser: firefox | |
build: yarn build | |
- uses: actions/upload-artifact@v1 | |
if: failure() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
- uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: cypress-videos | |
path: cypress/videos |