-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from skip-mev/staging
sync staging to main
- Loading branch information
Showing
25 changed files
with
12,804 additions
and
7,356 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,14 +22,23 @@ jobs: | |
run: npm run lint | ||
|
||
- name: Test | ||
env: | ||
NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }} | ||
run: npm test | ||
|
||
"e2e-tests": | ||
timeout-minutes: 60 | ||
timeout-minutes: 20 | ||
runs-on: ubuntu-latest | ||
container: | ||
image: mcr.microsoft.com/playwright:v1.38.0-jammy | ||
steps: | ||
- name: Waiting for 200 from the Vercel Preview | ||
uses: patrickedqvist/[email protected] | ||
id: waitFor200 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
check_interval: 15 | ||
max_timeout: 1200 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -43,6 +52,12 @@ jobs: | |
- name: Install Playwright Browsers | ||
run: npx playwright install --with-deps | ||
- name: Run Playwright tests | ||
env: | ||
WORD_PHRASE_KEY: ${{ secrets.WORD_PHRASE_KEY }} | ||
POLKACHU_USER: ${{ secrets.WORD_PHRASE_KEY }} | ||
POLKACHU_PASSWORD: ${{ secrets.POLKACHU_PASSWORD }} | ||
NEXT_PUBLIC_EDGE_CONFIG: ${{ secrets.NEXT_PUBLIC_EDGE_CONFIG }} | ||
PLAYWRIGHT_TEST_BASE_URL: ${{ steps.waitFor200.outputs.url }} | ||
run: xvfb-run --auto-servernum --server-args='-screen 0, 1920x1080x24' npm run test:e2e | ||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
|
Submodule chain-registry
updated
89 files
Oops, something went wrong.