Skip to content

fix(deps): vuln patch upgrades — 8 packages (patch: 8) [sticker-award/infra] #545

fix(deps): vuln patch upgrades — 8 packages (patch: 8) [sticker-award/infra]

fix(deps): vuln patch upgrades — 8 packages (patch: 8) [sticker-award/infra] #545

# Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2025-Present Datadog, Inc.
name: Docker Compose Integration
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
docker-compose-integration:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- name: Install mise
run: |
curl https://mise.run | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Create CI .env file
run: |
echo "ENV=ci" > .env
echo "COMMIT_SHA=latest" >> .env
echo "DEPLOYMENT_HOST_URL=http://localhost:8080" >> .env
echo "DD_API_KEY=dummy-api-key" >> .env
echo "DD_SITE=datadoghq.com" >> .env
echo "DD_RUM_APPLICATION_ID=dummy-rum-app-id" >> .env
echo "DD_RUM_CLIENT_TOKEN=dummy-rum-client-token" >> .env
- name: Start services (CI mode - no monitoring)
run: mise run compose:deploy:ci
- name: Wait for services to be ready
run: mise run test:wait
- name: Test all service endpoints
run: mise run test:services
- name: Setup Node.js for E2E tests
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: e2e/package-lock.json
- name: Install Playwright dependencies
working-directory: e2e
run: npm ci
- name: Install Playwright browsers
working-directory: e2e
run: npx playwright install --with-deps chromium
- name: Create e2e .env file
working-directory: e2e
run: |
echo "BASE_URL=http://localhost:8080" > .env
echo "CI=true" >> .env
- name: Run E2E tests
working-directory: e2e
run: npx playwright test
env:
CI: true
- name: Upload Playwright report on failure
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure()
with:
name: playwright-report
path: e2e/playwright-report/
retention-days: 7
- name: Cleanup
if: always()
run: mise run compose:down