Merge pull request #5467 from NomicFoundation/stack-traces-tests-cond… #2038
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
name: Check Docs Site | |
on: | |
push: | |
branches: | |
- "**" | |
workflow_dispatch: | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: Install Docs | |
run: cd docs && pnpm install --frozen-lockfile --prefer-offline | |
- name: lint | |
run: cd docs && pnpm lint | |
- name: Build | |
run: cd docs && pnpm build |