Add in the loop test for navigable pages, plus test workflow
Some checks failed
Build and Test - Staging / test (pull_request) Failing after 27s
Build and Test - Staging / build_and_push (pull_request) Has been skipped
Build and Test - Staging / deploy_staging (pull_request) Has been skipped

This commit is contained in:
2025-11-09 15:45:15 -08:00
parent 6bb862e6e5
commit 2d7f2904a8
8 changed files with 131 additions and 99 deletions

View File

@@ -4,7 +4,7 @@ on:
types: [ opened, synchronize, reopened ]
jobs:
determine_version:
test:
runs-on: ubuntu-latest
outputs:
repo_name: ${{ steps.project_metadata.outputs.REPO_NAME }}
@@ -17,6 +17,12 @@ jobs:
- name: Setup Node Environment
uses: actions/setup-node@v4
- name: Run Unit Tests
run: npm run test
- name: Run E2E Tests
run: npm run e2e-test
- name: Acquire Project Metadata
id: project_metadata
run: |
@@ -25,7 +31,7 @@ jobs:
build_and_push:
runs-on: ubuntu-latest
needs: determine_version
needs: test
steps:
- name: Checkout caperren-com Repository
uses: actions/checkout@v4
@@ -53,12 +59,6 @@ jobs:
REPO_VERSION_HASH=${{ needs.determine_version.outputs.repo_version_hash }}
BUILD_ENVIRONMENT=staging
test:
runs-on: ubuntu-latest
needs: build_and_push
steps:
- run: echo "Placeholder"
deploy_staging:
runs-on: ubuntu-latest
needs: test