Skip to content

chore: Add Espresso&XCUITest docs #35

chore: Add Espresso&XCUITest docs

chore: Add Espresso&XCUITest docs #35

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node version
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'npm'
- name: Install dependencies
run: npm ci
- run: npm run lint
- run: npm run build
integration-tests:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Setup Node version
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Integration Tests
env:
SAUCE_USERNAME: ${{secrets.SAUCE_USERNAME}}
SAUCE_ACCESS_KEY: ${{secrets.SAUCE_ACCESS_KEY}}
run: npm test tests/integration