Commit b4b3ff3
committed
minor #2504 [CI] Drop explicit Yarn dependencies caching steps for actions/setup-node (Kocal)
This PR was merged into the 2.x branch.
Discussion
----------
[CI] Drop explicit Yarn dependencies caching steps for actions/setup-node
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- For new features, provide some code snippets to help understand usage.
- Features and deprecations must be submitted against branch main.
- Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- Never break backward compatibility (see https://symfony.com/bc).
-->
While working on the UX's CI, I noticed that we manually handle Yarn cache (2 _longs_ steps).
Instead, we can use `actions/setup-node` and `cache: yarn` to lighten the workflow file and ease the maintenance.
Commits
-------
0f086b0 [CI] Drop explicit Yarn dependencies caching steps for actions/setup-node1 file changed
+12
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 20 | + | |
25 | 21 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 22 | + | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 32 | + | |
44 | 33 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
49 | 38 | | |
50 | 39 | | |
51 | 40 | | |
| |||
130 | 119 | | |
131 | 120 | | |
132 | 121 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 122 | + | |
138 | 123 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
143 | 128 | | |
144 | 129 | | |
145 | 130 | | |
0 commit comments