Profile Lint Timing #14
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: 'Profile Lint Timing' | |
| on: | |
| schedule: | |
| - cron: "30 1 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| profile-lint: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/init-node-and-install | |
| - name: Profile lint times | |
| run: pnpm tsx scripts/lint/profile-lint.ts | |
| - name: Cache timing data | |
| uses: actions/cache/save@v3 | |
| with: | |
| path: .lint-cache | |
| key: lint-timings-v1 |