Skip to content

Bump @playwright/test from 1.38.1 to 1.41.1 #32

Bump @playwright/test from 1.38.1 to 1.41.1

Bump @playwright/test from 1.38.1 to 1.41.1 #32

name: Run Checks on PR
on:
pull_request:
branches:
- main
permissions:
actions: write
checks: write
contents: read
security-events: write
pull-requests: write
env:
CI: true
SITE_DIR: site
TETRIS_APP_HOST: "127.0.0.1"
TETRIS_APP_PORT: "8080"
TETRIS_APP_PATH: "github-devsecops-fundamentals"
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.12
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.ci.txt
npm ci
# Install browsers for running functional tests
npx playwright install --with-deps chromium
- name: Build
run: |
python -m mkdocs build --clean --strict --verbose --site-dir '${{ env.SITE_DIR }}'
- name: Functional Test
run: npx playwright test
- name: Upload Functional Test Report
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
security-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Dependency Review
uses: actions/dependency-review-action@v3
with:
config-file: >-
./.github/dependency-review-config.yml