QA Stats #551
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: QA Stats | |
| on: | |
| schedule: | |
| - cron: '0 4 * * *' | |
| jobs: | |
| collect-qa-stats: | |
| name: Collect QA Stats | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Collect QA stats | |
| run: node .github/scripts/collect-qa-stats.mjs | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_REPOSITORY: ${{ github.repository }} | |
| - name: Upload QA stats artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: qa-stats | |
| path: ./qa-stats.json | |
| if-no-files-found: error | |
| - name: Upload feature flag coverage report | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: feature-flag-coverage-report | |
| path: ./tests/artifacts/feature-flag-coverage-report.json | |
| if-no-files-found: warn |