Skip to content

chore: change command to headless #3

chore: change command to headless

chore: change command to headless #3

Workflow file for this run

name: X E2E Tests
on:
push:
branches:
- feat/e2e
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up secrets
uses: oNaiPs/secrets-to-env-action@v1
with:
secrets: ${{ toJSON(secrets) }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Clone E2E Tests Repository
run: |
git clone https://${{ secrets.E2E_GITHUB_TOKEN }}@github.com/pillarwallet/x-e2e.git
env:
E2E_GITHUB_TOKEN: ${{ secrets.E2E_GITHUB_TOKEN }}
- name: Install Dependencies
working-directory: x-e2e
run: npm install
- name: Run E2E Tests
working-directory: x-e2e
run: npm run test-headless
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: x-e2e/mochawesome-report/
retention-days: 30