Skip to content

Commit

Permalink
fix: run
Browse files Browse the repository at this point in the history
  • Loading branch information
arein committed Jan 9, 2024
1 parent bec8876 commit 5840d03
Showing 1 changed file with 39 additions and 9 deletions.
48 changes: 39 additions & 9 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches:
- main
push:
branches:
- feat/tests

concurrency:
# Support push/pr as event types with different behaviors each:
Expand All @@ -14,16 +17,43 @@ concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: WalletConnect/web3modal
ref: V3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Wait for Vercel Preview URL with App Name
id: vercel_preview_url_by_name
uses: zentered/vercel-preview-url@v1.1.9
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
GITHUB_REF: 'main'
GITHUB_REPOSITORY: 'PatrickHeneise/vercel-preview-action-test'
with:
vercel_app: 'vercel-preview-action-test'
- name: Get URL
run:
echo "https://${{
steps.vercel_preview_url_by_name.outputs.preview_url}}"

ui_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: WalletConnect/web3modal
ref: V3
- uses: actions/checkout@v4
with:
repository: WalletConnect/web3modal
ref: V3
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Wait for Vercel Preview URL with App Name
id: vercel_preview_url_by_name
uses: zentered/vercel-preview-url@v1.1.9
env:
VERCEL_TOKEN: ${{ secrets.UI_TEST_VERCEL_TOKEN }}UI_TEST_WALLET_V2_VERCEL_PROJECT_ID
with:
vercel_app: ${{ secrets.UI_TEST_WALLET_V2_VERCEL_PROJECT_ID }}
- name: Get URL
run: echo "https://${{steps.vercel_preview_url_by_name.outputs.preview_url}}"

0 comments on commit 5840d03

Please sign in to comment.