|
48 | 48 | - name: Fetch submodule tags |
49 | 49 | working-directory: compiler |
50 | 50 | run: git fetch --tags https://github.com/google/closure-compiler.git |
| 51 | + - name: Enable yarn caching |
| 52 | + run: yarn config set enableGlobalCache true |
51 | 53 | - name: Use Node.js ${{ env.NODE_VERSION }} |
52 | 54 | uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 |
53 | 55 | with: |
@@ -130,6 +132,8 @@ jobs: |
130 | 132 | CC=musl-gcc ./configure --prefix=$MUSL_HOME --static |
131 | 133 | make && make install |
132 | 134 | popd |
| 135 | + - name: Enable yarn caching |
| 136 | + run: yarn config set enableGlobalCache true |
133 | 137 | - name: Use Node.js ${{ env.NODE_VERSION }} |
134 | 138 | uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 |
135 | 139 | with: |
@@ -188,6 +192,8 @@ jobs: |
188 | 192 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 |
189 | 193 | with: |
190 | 194 | ref: ${{ inputs.release-tag || '' }} |
| 195 | + - name: Enable yarn caching |
| 196 | + run: yarn config set enableGlobalCache true |
191 | 197 | - name: Use Node.js ${{ env.NODE_VERSION }} |
192 | 198 | uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 |
193 | 199 | with: |
@@ -243,6 +249,8 @@ jobs: |
243 | 249 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 |
244 | 250 | with: |
245 | 251 | ref: ${{ inputs.release-tag || '' }} |
| 252 | + - name: Enable yarn caching |
| 253 | + run: yarn config set enableGlobalCache true |
246 | 254 | - name: Use Node.js ${{ env.NODE_VERSION }} |
247 | 255 | uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 |
248 | 256 | with: |
@@ -298,6 +306,8 @@ jobs: |
298 | 306 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 |
299 | 307 | with: |
300 | 308 | ref: ${{ inputs.release-tag || '' }} |
| 309 | + - name: Enable yarn caching |
| 310 | + run: yarn config set enableGlobalCache true |
301 | 311 | - name: Use Node.js ${{ env.NODE_VERSION }} |
302 | 312 | uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 |
303 | 313 | with: |
@@ -362,6 +372,8 @@ jobs: |
362 | 372 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 |
363 | 373 | with: |
364 | 374 | ref: ${{ inputs.release-tag || '' }} |
| 375 | + - name: Enable yarn caching |
| 376 | + run: yarn config set enableGlobalCache true |
365 | 377 | - name: Use Node.js ${{ env.NODE_VERSION }} |
366 | 378 | uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 |
367 | 379 | with: |
|
0 commit comments