Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
name: e2e
on:
pull_request:
types: [opened, synchronize]
jobs:
setup:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: e2e-yarn-${{ hashFiles('**\yarn.lock') }}
restore-keys: |
e2e-yarn-
- run: yarn install
e2e-win-matrix:
needs: [setup]
runs-on: windows-latest
strategy:
matrix:
browser: [ie]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: use node_modules cache
uses: actions/cache@v1
with:
path: node_modules
key: e2e-yarn-${{ hashFiles('**\yarn.lock') }}
restore-keys: |
e2e-yarn-
- name: run
env:
CAFE_BROWSER: ${{ matrix.browser }}
run: yarn ts-node ./e2e_runner.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.