Skip to content

fix: update exec test commands #1338

fix: update exec test commands

fix: update exec test commands #1338

Workflow file for this run

name: Testcafe
on:
push:
branches:
- master
pull_request:
permissions:
contents: read # For checkout
actions: read # For accessing action outputs
jobs:
testcafe:
name: Testcafe e2e Test
runs-on: ubuntu-latest
timeout-minutes: 300
if: |
(!contains(github.event.pull_request.title, '[skip test]') &&
github.event.pull_request.head.repo.full_name == github.repository)
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
DID_SERVER_URL: ${{ secrets.DID_SERVER_URL }}
MAILSLURP_API_KEY: ${{ secrets.MAILSLURP_API_KEY }}
MAGIC_API_KEY: ${{ secrets.MAGIC_API_KEY }}
MAILSLURP_INDEX_ID: ${{ secrets.MAILSLURP_INDEX_ID }}
DEFAULT_TEMPLATE_URL: ${{ vars.DEFAULT_TEMPLATE_URL }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Packages
run: npm ci
- name: Build
run: npm run build:test
- name: Integration - testcafe
id: testcafe
run: npm run integration:testcafe:ci
- name: Upload Artifact
if: ${{ failure() && steps.testcafe.outcome == 'failure' }}
uses: actions/upload-artifact@v4
with:
name: testcafe-fail-screenshots
path: artifacts
if-no-files-found: ignore
retention-days: 1