Copy staging test updates to prod
All checks were successful
Build and Test - Staging / test (pull_request) Successful in 3m14s
Build and Test - Staging / build_and_push (pull_request) Successful in 2m26s
Build and Test - Staging / deploy_staging (pull_request) Successful in 5s

This commit is contained in:
2025-11-09 15:56:36 -08:00
parent 5c0152d234
commit d0f5838cac

View File

@@ -4,7 +4,7 @@ on:
branches: [main]
jobs:
determine_version:
test:
runs-on: ubuntu-latest
outputs:
repo_name: ${{ steps.project_metadata.outputs.REPO_NAME }}
@@ -17,7 +17,21 @@ jobs:
- name: Setup Node Environment
uses: actions/setup-node@v4
- name: Acquire Project Metadata
- name: Setup Project Dependencies
run: |
npm ci
npx playwright install --with-deps
- name: Build Project
run: npm run build
- name: Run Unit Tests
run: npm run test
- name: Run E2E Tests
run: npm run e2e-test
- name: Set Project Metadata
id: project_metadata
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
@@ -25,7 +39,7 @@ jobs:
build_and_push:
runs-on: ubuntu-latest
needs: determine_version
needs: test
steps:
- name: Checkout caperren-com Repository
uses: actions/checkout@v4
@@ -55,12 +69,6 @@ jobs:
REPO_VERSION_HASH=${{ needs.determine_version.outputs.repo_version_hash }}
BUILD_ENVIRONMENT=production
test:
runs-on: ubuntu-latest
needs: build_and_push
steps:
- run: echo "Placeholder"
deploy_production:
runs-on: ubuntu-latest
needs: test