Skip to content

initial commit

initial commit #1

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_and_test:
runs-on: ubuntu-latest
env:
CI: true
NODE_ENV: test
steps:
- name: Log node version
run: node --version
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: yarn start --port 8001
- name: Upload screenshots
uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- name: Upload videos
uses: actions/upload-artifact@v1
if: always()
with:
name: cypress-videos
path: cypress/videos