Docs Production Smoke Tests #4
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
# Smoke tests against the docs production site, run daily | |
name: Docs Production Smoke Tests | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 4 * * *' | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
apps/docs | |
packages | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install deps | |
run: npm ci | |
- name: Run tests | |
run: npm --prefix="apps/docs" run test:smoke |