Commit 18d14c9
authored
fix: Optimize Firebase CI workflows with caching for firebase.json (#82)
- **Workflows Updated**:
- **`delete-firebase-hosting-channel.yml`**:
- Added caching for `firebase.json` using `actions/cache` to persist configuration across workflow runs.
- Updated `actions/checkout` and `w9jds/firebase-action` to pinned versions for enhanced stability.
- Conditional execution of Firebase actions based on cache availability.
- **`firebase-hosting-pull-request.yml`**:
- Implemented `actions/cache/save` to store `firebase.json` after build and test steps.
- Updated workflow to ensure `firebase.json` is available for subsequent Firebase deployments.
- **Impact**:
- Speeds up Firebase workflow executions by reducing redundant `firebase.json` generation.
- Enhances workflow reliability with pinned dependencies and optimized caching.1 parent 2007e2a commit 18d14c9
File tree
2 files changed
+17
-1
lines changed- .github/workflows
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments