Add in the loop test for navigable pages, plus test workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user