Skip to content

test workflow trigger #46

test workflow trigger

test workflow trigger #46

Workflow file for this run

name: Lint & E2E Checks
on:
pull_request:
env:
docker_registry: ghcr.io/joshzcold
game_store: memory
jobs:
lint:

Check failure on line 10 in .github/workflows/e2e-tests.yaml

View workflow run for this annotation

GitHub Actions / Lint & E2E Checks

Invalid workflow file

The workflow is not valid. .github/workflows/e2e-tests.yaml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.

Check failure on line 10 in .github/workflows/e2e-tests.yaml

View workflow run for this annotation

GitHub Actions / Lint & E2E Checks

Invalid workflow file

The workflow is not valid. .github/workflows/e2e-tests.yaml (Line: 10, Col: 3): The workflow must contain at least one job with no dependencies.
name: Lint Check
runs-on: ubuntu-latest
needs: [check-comment]
if: ${{ github.event_name == 'workflow_dispatch' || needs.check-comment.outputs.should_run == 'true' }}
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
test:
name: E2E Tests
needs: [lint, check-comment]
if: ${{ github.event_name == 'workflow_dispatch' || needs.check-comment.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: |
npm ci
cd e2e
- name: Install Playwright browsers
run: |
cd e2e
npx playwright install --with-deps
- name: Run e2e tests
run: |
make e2e
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
e2e/test-results/*.xml