ci: expire CI build artifacts after a week
CI / format (pull_request) Successful in 2m10s
CI / lint (pull_request) Successful in 2m16s
CI / install (pull_request) Successful in 7m18s
CI / typecheck (pull_request) Successful in 2m1s
CI / typetest (pull_request) Successful in 2m10s
CI / node-tests (pull_request) Successful in 2m53s
CI / browser-tests (pull_request) Successful in 4m3s
CI / format (pull_request) Successful in 2m10s
CI / lint (pull_request) Successful in 2m16s
CI / install (pull_request) Successful in 7m18s
CI / typecheck (pull_request) Successful in 2m1s
CI / typetest (pull_request) Successful in 2m10s
CI / node-tests (pull_request) Successful in 2m53s
CI / browser-tests (pull_request) Successful in 4m3s
The install job uploads node_modules, the turbo cache, and the build output on every pull request run, which adds up to tens of gigabytes of storage for data only the downstream jobs in the same run ever read. Co-Authored-By: claude-opus-5 <noreply@anthropic.com>
This commit was merged in pull request #240.
This commit is contained in:
@@ -33,6 +33,7 @@ jobs:
|
||||
with:
|
||||
name: node_modules-${{ github.run_id }}
|
||||
path: node_modules.tar.gz
|
||||
retention-days: 7
|
||||
|
||||
- name: Archive turbo cache
|
||||
run: tar -czf turbo-cache.tar.gz .turbo
|
||||
@@ -41,6 +42,7 @@ jobs:
|
||||
with:
|
||||
name: turbo-cache-${{ github.run_id }}
|
||||
path: turbo-cache.tar.gz
|
||||
retention-days: 7
|
||||
|
||||
- name: Archive build artifacts
|
||||
run: |
|
||||
@@ -51,6 +53,7 @@ jobs:
|
||||
with:
|
||||
name: build-artifacts-${{ github.run_id }}
|
||||
path: build-artifacts.tar.gz
|
||||
retention-days: 7
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user