update terraform modules site (#10) #42
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: Lighthouse and SEO | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Verify embedded ApplicationSet Studio runtime | |
| run: python3 scripts/embed-applicationset-studio-runtime.py --check | |
| - name: Validate SEO metadata and canonical URLs | |
| run: python3 scripts/seo-audit.py | |
| - name: Validate HTML | |
| uses: Cyb3r-Jak3/html5validator-action@v7.2.0 | |
| with: | |
| root: . | |
| blacklist: googlecaadda4a5b13e6cb.html node_modules .lighthouseci | |
| extra: "--ignore-re CSS:" | |
| - name: Validate internal and external links | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| args: >- | |
| --root-dir . | |
| --include-fragments | |
| --timeout 30 | |
| --max-retries 3 | |
| --retry-wait-time 2 | |
| README.md | |
| index.html | |
| k8s-manifest-builder/index.html | |
| helm-chart-builder/index.html | |
| argocd-applicationset-studio/index.html | |
| kubernetes-rbac-explorer/index.html | |
| visual-subnet-calculator/index.html | |
| yaml-formatter/index.html | |
| terraform-modules/index.html | |
| fail: true | |
| jobSummary: true | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Start static preview | |
| run: | | |
| python3 -m http.server 8080 > /tmp/native-cube-http.log 2>&1 & | |
| curl --fail --retry 5 --retry-connrefused --retry-delay 1 \ | |
| http://127.0.0.1:8080/ | |
| - name: Run Lighthouse | |
| uses: treosh/lighthouse-ci-action@v12 | |
| with: | |
| configPath: ./lighthouserc.json | |
| uploadArtifacts: true | |
| urls: | | |
| http://127.0.0.1:8080/ | |
| http://127.0.0.1:8080/k8s-manifest-builder/ | |
| http://127.0.0.1:8080/helm-chart-builder/ | |
| http://127.0.0.1:8080/argocd-applicationset-studio/ | |
| http://127.0.0.1:8080/kubernetes-rbac-explorer/ | |
| http://127.0.0.1:8080/visual-subnet-calculator/ | |
| http://127.0.0.1:8080/yaml-formatter/ | |
| http://127.0.0.1:8080/terraform-modules/ |