build(deps): bump mongoose from 6.13.5 to 8.9.5 in /server #145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run e2e Docker Compose PROD | |
on: | |
pull_request: | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Create server environment file | |
run: touch server.prod.env | |
- name: Build the Docker stack | |
run: docker compose -f docker-compose.prod.yml up -d | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install e2e dependencies | |
working-directory: ./e2e | |
run: yarn install | |
- name: Install additional system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libasound2 libicu-dev libffi-dev libx264-dev | |
- name: Install Playwright | |
working-directory: ./e2e | |
run: npx playwright install | |
- name: Install Playwright dependencies | |
working-directory: ./e2e | |
run: npx playwright install-deps | |
- name: Run e2e Tests | |
working-directory: ./e2e | |
run: yarn test:ci | |
- name: Upload Playwright Report | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: ./e2e/playwright-report/ | |
retention-days: 30 |