Skip to content

Update README.md

Update README.md #32

Workflow file for this run

name: Test
on:
push:
branches: [gh-pages, master, develop]
pull_request:
branches: [master]
types: [opened, reopened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- name: Test
env:
GITHUB_PR: ${{startsWith('GITHUB_REF','refs/pull/')}}
BROWSERSTACK_ACCESS_KEY: ${{secrets.BROWSERSTACK_ACCESS_KEY}}
BROWSERSTACK_USERNAME: ${{secrets.BROWSERSTACK_USERNAME}}
CYPRESS_RECORD_KEY: ${{secrets.CYPRESS_RECORD_KEY}}
run: |
npm ci
npm run unit-test-ci
if [ "$GITHUB_PR" != "true" ]; then npm run test-cross-platform; fi
if [ "$GITHUB_PR" != "true" ]; then npm run test; else npm run test-no-record; fi