Skip to content

Hosted Pages Smoke

Hosted Pages Smoke #48

name: Hosted Pages Smoke
on:
workflow_dispatch:
schedule:
- cron: '17 11 * * 1'
workflow_run:
workflows: [Tests]
types: [completed]
branches: [main]
permissions:
contents: read
jobs:
deployed-browser-smoke:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: refs/heads/main
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
- name: Install pinned browser runtime
run: npm install --no-save --package-lock=false --ignore-scripts playwright@1.55.0
- name: Install Chromium
run: npx playwright install --with-deps chromium
- name: Verify deployed Citadel pages
env:
CITADEL_SITE_URL: https://sethgammon.github.io/Citadel
run: node scripts/hosted-site-smoke.js