fix: systematic batch addition of missing environment variables to 4 … #27
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
| name: Template Validation Pipeline | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - 'templates/**/*.yaml' | |
| - 'src/generation/**/*.ts' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'templates/**/*.yaml' | |
| - 'src/generation/**/*.ts' | |
| jobs: | |
| template-validation: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build Project | |
| run: npm run build | |
| - name: Validate Template YAML Structure | |
| run: make templates-validate | |
| - name: Validate Generated Shell Syntax | |
| run: make templates-syntax | |
| - name: Execute Template Integration Tests | |
| run: make templates-all | |
| timeout-minutes: 10 | |
| - name: Archive Generated Scripts | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: failed-template-outputs | |
| path: dev/generated-outputs/templates/ | |
| retention-days: 7 | |
| - name: Archive Execution Results | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: execution-failure-logs | |
| path: dev/execution-results/templates/ | |
| retention-days: 7 |