Skip to content

fix: Testing workflow #9

fix: Testing workflow

fix: Testing workflow #9

Workflow file for this run

name: E2E Tests
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Run Docker
run: docker compose up --build
- name: Wait
run: sleep 81s
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn run test:e2e
- name: Setup tmate session
if: success() || failure()
uses: mxschmitt/action-tmate@v3
- name: Clean up Docker containers
if: always()
run: docker compose down