-
Notifications
You must be signed in to change notification settings - Fork 19
37 lines (30 loc) · 1.05 KB
/
e2e-tests.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
32
33
34
35
36
37
name: Run e2e tests
on: [pull_request, workflow_dispatch]
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Populate .env file
uses: SpicyPizza/[email protected]
with:
envkey_PINATA_SDK_KEY: ${{ secrets.PINATA_SDK_KEY }}
envkey_PINATA_SDK_SECRET: ${{ secrets.PINATA_SDK_SECRET }}
envkey_TENDERLY_ACCESS_SECRET: ${{ secrets.TENDERLY_ACCESS_SECRET }}
envkey_TENDERLY_PROJECT: ${{ secrets.TENDERLY_PROJECT }}
envkey_TENDERLY_USER: ${{ secrets.TENDERLY_USER }}
envkey_GELATO_API_KEY: ${{ secrets.GELATO_API_KEY }}
envkey_PUBLIC_NETWORK: 5
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Svelte Kit Sync
run: npx svelte-kit sync
- name: Run E2E tests
run: npm run e2e