Docs Production Smoke Tests #10
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 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
with: | |
version: 9.10.0 | |
run_install: false | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Install deps | |
run: pnpm i | |
- name: Run tests | |
run: pnpm --prefix="apps/docs" run test:smoke |