Skip to content

Commit

Permalink
Production Release
Browse files Browse the repository at this point in the history
Production Release
  • Loading branch information
tcheee authored Dec 6, 2024
2 parents 94845a8 + 4f2e8d8 commit cca2591
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ permissions:
contents: write
jobs:
test:
name: Test (${{ matrix.shard }} / ${{ strategy.job-total}})
continue-on-error: true
timeout-minutes: 10
runs-on: ubuntu-latest
strategy:
matrix:
shard: [ 1, 2, 3, 4 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -20,14 +25,15 @@ jobs:
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
env:
PLAYWRIGHT_JSON_OUTPUT_NAME: report-${{ matrix.shard }}.json
run: |
yarn playwright test \
--shard ${{ matrix.shard }}/${{ strategy.job-total }} \
--reporter=json
- uses: daun/playwright-report-summary@v3
if: always()
with:
report-file: test-results.json
report-file: report-${{ matrix.shard }}.json
report-tag: ${{ matrix.shard }}
comment-title: 'Test results (${{ matrix.shard }}/${{ strategy.job-total }})'
2 changes: 2 additions & 0 deletions src/components/Widgets/Widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,11 @@ export function Widget({
},
bridges: {
allow: configTheme?.allowedBridges,
deny: ['allbridge', 'hop', 'celerim', 'squid'],
},
exchanges: {
allow: configTheme?.allowedExchanges,
deny: ['bebop', 'paraswap', '0x'],
},
languages: {
default: i18n.language as LanguageKey,
Expand Down

1 comment on commit cca2591

@vercel
Copy link

@vercel vercel bot commented on cca2591 Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.