feat(ENG-247): Add CLAUDE.md, audit skill, and docs-review sync (#34) #28
This file contains hidden or 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
| --- | |
| # From https://vitepress.dev/guide/deploy#github-pages. | |
| concurrency: | |
| cancel-in-progress: false | |
| group: 'pages' | |
| env: | |
| NODE_VERSION: '25' | |
| jobs: | |
| build: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: 'Checkout' | |
| uses: 'actions/checkout@v6' | |
| with: | |
| fetch-depth: null | |
| - name: 'Setup Node' | |
| uses: 'actions/setup-node@v6' | |
| with: | |
| cache: 'npm' | |
| cache-dependency-path: 'docs/package-lock.json' | |
| node-version: '${{ env.NODE_VERSION }}' | |
| - name: 'Setup Pages' | |
| uses: 'actions/configure-pages@v5' | |
| - name: 'Install dependencies' | |
| run: 'npm ci' | |
| working-directory: 'docs' | |
| - name: 'Build with VitePress' | |
| run: 'npx vitepress build' | |
| working-directory: 'docs' | |
| - name: 'Upload artifact' | |
| uses: 'actions/upload-pages-artifact@v4' | |
| with: | |
| path: 'docs/.vitepress/dist' | |
| deploy: | |
| environment: | |
| name: 'github-pages' | |
| url: '${{ steps.deployment.outputs.page_url }}' | |
| name: 'Deploy' | |
| needs: 'build' | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - id: 'deployment' | |
| name: 'Deploy to GitHub Pages' | |
| uses: 'actions/deploy-pages@v4' | |
| name: 'Deploy docs' | |
| 'on': | |
| push: | |
| branches: | |
| - 'main' | |
| permissions: | |
| contents: 'read' | |
| id-token: 'write' | |
| pages: 'write' | |
| ... |