chore(deps): update wallet connect to v2.17.4 #443
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: Companion App | |
on: | |
pull_request: | |
defaults: | |
run: | |
working-directory: ./deployables/app | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy & Test | |
defaults: | |
run: | |
working-directory: ./deployables/app | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: latest | |
cache: 'pnpm' | |
cache-dependency-path: '**/pnpm-lock.yaml' | |
- run: pnpm install --prefer-offline | |
- run: pnpm build | |
- name: Deploy | |
id: deploy | |
uses: cloudflare/[email protected] | |
with: | |
workingDirectory: deployables/app | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
accountId: ${{ secrets.CF_ACCOUNT_ID }} | |
command: versions upload | |
# If you think this sucks, you are right. | |
# Check https://github.com/cloudflare/wrangler-action/issues/343 | |
# and we can just use the deployment-url output of | |
# the deploy action | |
- uses: kaisugi/[email protected] | |
id: regex | |
with: | |
text: ${{ steps.deploy.outputs.command-output }} | |
regex: 'https:\/\/.+\.gnosisguild\.workers\.dev' | |
- name: Install Playwright Browsers | |
run: pnpm playwright install --with-deps chromium | |
- name: Run Playwright tests | |
run: xvfb-run pnpm playwright test | |
env: | |
PLAYWRIGHT_TEST_BASE_URL: ${{ steps.regex.outputs.match }} | |
- uses: actions/upload-artifact@v4 | |
if: ${{ !cancelled() }} | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |