Ev/iss629 #612
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |