Commit cc01268
CI: Optimize PHP Static Analysis by caching Gutenberg build
To speed up the workflow and prevent 'npm ci' from hanging during the Gutenberg build:
- Added a cache step for the 'gutenberg/' directory and '.gutenberg-hash' file.
- Used '--ignore-scripts' during 'npm ci' to bypass the automatic Gutenberg build.
- The build remains part of 'npm run build:dev', but now benefits from the restored cache and hash, making it a no-op when the reference hasn't changed.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 1c1cb16 commit cc01268
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
83 | 95 | | |
84 | | - | |
| 96 | + | |
85 | 97 | | |
86 | 98 | | |
87 | 99 | | |
| |||
0 commit comments