Skip to content

Add Docker build system and containerized development environment #13

Add Docker build system and containerized development environment

Add Docker build system and containerized development environment #13

Workflow file for this run

name: E2E Tests
on:
workflow_run:
workflows: ["Build"]
types: [completed]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
e2e-tests:
name: E2E tests
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' || github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- name: Download build artifact
if: github.event_name != 'pull_request'
uses: actions/download-artifact@v4
with:
name: build-package
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Run E2E tests
run: |
# Add your actual E2E test commands here
echo "Running E2E tests..."
# Example: npm run test:e2e
- uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-test-results
path: test-results/