Bump the minor-and-patch group in /site with 2 updates #20
Workflow file for this run
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
paths: | |
- site/** | |
name: Code Review | |
permissions: | |
contents: read | |
env: | |
OBSERVABLE_TELEMETRY_DISABLE: true | |
SENTRY_RELEASE: ${{ github.sha }} | |
SENTRY_ENVIRONMENT: test | |
SENTRY_PUBLIC_KEY: test | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
defaults: | |
run: | |
working-directory: site | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install poetry~=1.8 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
cache: poetry | |
cache-dependency-path: site/poetry.lock | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache-dependency-path: site/package-lock.json | |
- run: poetry install | |
- run: poetry run npm ci --omit=dev | |
- run: poetry run npm run build | |
audit: | |
name: Audit | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
defaults: | |
run: | |
working-directory: site | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache-dependency-path: site/package-lock.json | |
- run: npm audit | |
lint: | |
name: Lint | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
defaults: | |
run: | |
working-directory: site | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install poetry~=1.8 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
cache: poetry | |
cache-dependency-path: site/poetry.lock | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache-dependency-path: site/package-lock.json | |
- run: poetry install | |
- run: poetry run npm ci | |
- run: poetry run npm run lint | |
test: | |
name: Test | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 30 | |
defaults: | |
run: | |
working-directory: site | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install poetry~=1.8 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.13" | |
cache: poetry | |
cache-dependency-path: site/poetry.lock | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache-dependency-path: site/package-lock.json | |
- run: poetry install | |
- run: poetry run npm ci | |
- run: poetry run npx playwright install --with-deps chromium | |
- run: poetry run npm run test | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: site/playwright-report/ | |
retention-days: 7 |