forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 894 Bytes
/
operator-ui.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Operator UI
on: pull_request
jobs:
operator-ui:
name: Operator UI Tests
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: "12"
- name: Checkout the repo
uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v2
env:
cache-name: yarn-cache
with:
path: |
~/.npm
~/.cache
**/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Run yarn install
run: yarn install --frozen-lockfile
- name: Run Operator UI tests
run: ./tools/ci/operator_ui_test