diff --git a/.github/workflows/docs-preview.yaml b/.github/workflows/docs-preview.yaml index 847172bf..3f4ed05c 100644 --- a/.github/workflows/docs-preview.yaml +++ b/.github/workflows/docs-preview.yaml @@ -61,6 +61,14 @@ jobs: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} CODE_SERVER_DOCS_MAIN_BRANCH: ${{ github.event.pull_request.head.sha }} + - name: Install node_modules + run: yarn install + + - name: Check docs + run: yarn ts-node ./product/coder.com/site/scripts/checkDocs.ts + env: + BASE_URL: ${{ steps.preview.outputs.url }} + - name: Update Deployment # If we don't specify always, it won't run this check if failed. # This means the deployment would be stuck pending.