FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
uniswap-interface/.github/workflows/tests.yaml at master · tmlee/uniswap-interface · GitHub
tmlee
/
uniswap-interface
Public
forked from
Uniswap/interface
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
uniswap-interface
/
.github
/
workflows
/
tests.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
65 lines (60 loc) · 1.95 KB
Breadcrumbs
uniswap-interface
/
.github
/
workflows
/
tests.yaml
Copy path
File metadata and controls
65 lines (60 loc) · 1.95 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name
:
Tests
on
:
push
:
branches
:
-
master
pull_request
:
branches
:
-
master
jobs
:
integration-tests
:
name
:
Integration tests
runs-on
:
ubuntu-16.04
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v1
-
uses
:
actions/setup-node@v1
with
:
node-version
:
'
12
'
always-auth
:
true
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v1
id
:
yarn-cache
#
use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
run
:
yarn install --frozen-lockfile
-
run
:
yarn cypress install
-
run
:
yarn build
env
:
CI
:
false
REACT_APP_NETWORK_URL
:
"
https://mainnet.infura.io/v3/4bf032f2d38a4ed6bb975b80d6340847
"
-
run
:
yarn integration-test
unit-tests
:
name
:
Unit tests
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v1
-
uses
:
actions/setup-node@v1
with
:
node-version
:
'
12
'
always-auth
:
true
registry-url
:
https://registry.npmjs.org
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v1
id
:
yarn-cache
#
use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
run
:
yarn install --frozen-lockfile
-
run
:
yarn test
Back
|
FazBrowse Home
|
New Git URL