fix(compute): document instance action preconditions and add missing … #423
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
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| name: Validate | |
| env: | |
| GOPRIVATE: "github.com/eu-sovereign-cloud" | |
| jobs: | |
| validate: | |
| name: Validate Specs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '>=1.23.0' | |
| cache: false | |
| - name: Validate | |
| run: make lint | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm # Automatically caches dependencies | |
| cache-dependency-path: website/package-lock.json # 👈 Ensure caching works for the correct path | |
| - name: Install dependencies with npm ci | |
| run: npm ci | |
| working-directory: website | |
| - name: Generate API Docs | |
| run: npm run generate:all | |
| working-directory: website | |
| - name: Build Docusaurus | |
| run: npm run build | |
| working-directory: website |