CI: set fail-on-cache-miss for cached build folders

This commit is contained in:
larabr 2025-07-14 18:44:26 +02:00
parent 0f586241e8
commit faeceec49e
No known key found for this signature in database
GPG Key ID: 2A4BEC40729185DD

View File

@ -52,7 +52,7 @@ jobs:
dist dist
test/lib test/lib
key: cache-${{ github.sha }} key: cache-${{ github.sha }}
# ignore cache miss, since it was taken care of the `build` step and it should never occur here fail-on-cache-miss: true # sanity check for runner issues or misconfigurations
- run: npm test - run: npm test
test-browsers-latest: test-browsers-latest:
@ -79,6 +79,7 @@ jobs:
test/lib test/lib
key: cache-${{ github.sha }} key: cache-${{ github.sha }}
enableCrossOsArchive: true enableCrossOsArchive: true
fail-on-cache-miss: true # sanity check for runner issues or misconfigurations
- name: Install dependencies - name: Install dependencies
# cannot use `--ignore-scripts` since playwright seems to use it to set ENV vars # cannot use `--ignore-scripts` since playwright seems to use it to set ENV vars