-
-
Notifications
You must be signed in to change notification settings - Fork 81
35 lines (32 loc) · 1.06 KB
/
Copy pathhosted-pages-smoke.yml
File metadata and controls
35 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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