-
Notifications
You must be signed in to change notification settings - Fork 5
30 lines (28 loc) · 995 Bytes
/
basic.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
name: Cypress Tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
env:
MAINNET_SECRET_WORDS: ${{ secrets.TEST_WALLET_SEED_PHRASE }}
SECRET_WORDS: ${{ secrets.TEST_WALLET_SEED_PHRASE }}
PASSWORD: TestMetaMask
NETWORK_NAME: tenderly
RPC_URL: ${{ secrets.DUMMY_RPC_URL }}
CHAIN_ID: 1
CYPRESS_TENDERLY_KEY: ${{ secrets.CYPRESS_TENDERLY_KEY }}
CYPRESS_TENDERLY_PROJECT: ${{ secrets.CYPRESS_TENDERLY_PROJECT }}
steps:
- run: sudo apt-get install xvfb
- run: sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- name: Checkout
uses: actions/checkout@v2
- name: Install chrome
uses: browser-actions/[email protected]
with:
chrome-version: 123
- run: chrome --version
- run: yarn install
- run: yarn build:testing
- run: yarn serve -l 3000 &
- run: yarn cypress:ci