Test real GitHub Actions cache service #1
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: Test real GitHub Actions cache service | |
| on: | |
| schedule: | |
| - cron: '14 7 * * *' # 6:07AM PST / 7:07AM PDT | |
| jobs: | |
| tests: | |
| strategy: | |
| matrix: | |
| include: | |
| - node: 20 # LTS | |
| os: ubuntu-22.04 | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| WIREIT_LOGGER: 'quiet-ci' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| # Note we intentionally don't enable Wireit caching for this workflow, | |
| # because we're looking for problems coming from the real production | |
| # GitHub Actions cache service, which is independent of any of our files. | |
| # - uses: google/wireit@setup-github-actions-caching/v2 | |
| - run: npm ci | |
| - run: npm run test:cache-github-real |