|
41 | 41 | permissions: |
42 | 42 | contents: read |
43 | 43 | env: |
44 | | - CACHE_PATH: node_modules |
| 44 | + CACHE_PATH: | |
| 45 | + node_modules |
| 46 | + packages/*/node_modules |
45 | 47 | CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
46 | 48 | COVERAGE_SUMMARY: ./coverage/coverage-summary.json |
47 | 49 | HUSKY: 0 |
@@ -459,26 +461,26 @@ jobs: |
459 | 461 | - id: local-binaries |
460 | 462 | name: Add local binaries to $PATH |
461 | 463 | run: echo "$GITHUB_WORKSPACE/node_modules/.bin" >> $GITHUB_PATH |
462 | | - # - id: changelog |
463 | | - # name: Changelog preview |
464 | | - # env: |
465 | | - # TZ: ${{ vars.TZ }} |
466 | | - # run: echo "$(grease changelog)" >>$GITHUB_STEP_SUMMARY |
467 | | - # working-directory: ${{ env.PACKAGE_DIRECTORY }} |
468 | | - # - id: build |
469 | | - # name: Build project |
470 | | - # run: yarn build |
471 | | - # - id: pack |
472 | | - # name: Pack project |
473 | | - # run: | |
474 | | - # yarn workspaces foreach --worktree --from=${{ format('@{0}/1', github.repository_owner, matrix.package) }} pack --out=${{ steps.tarball.outputs.result }} |
475 | | - # - id: attw |
476 | | - # name: Analyze types distribution |
477 | | - # run: attw ${{ steps.tarball.outputs.result }} --config-path=../../.attw.json" |
478 | | - # working-directory: ${{ env.PACKAGE_DIRECTORY }} |
479 | | - # - id: archive |
480 | | - # name: Archive production artifact |
481 | | - # uses: actions/upload-artifact@v6.0.0 |
482 | | - # with: |
483 | | - # name: ${{ steps.tarball.outputs.result }} |
484 | | - # path: ${{ env.PACKAGE_DIRECTORY }}/${{ steps.tarball.outputs.result }} |
| 464 | + - id: changelog |
| 465 | + name: Changelog preview |
| 466 | + env: |
| 467 | + TZ: ${{ vars.TZ }} |
| 468 | + run: echo "$(grease changelog)" >>$GITHUB_STEP_SUMMARY |
| 469 | + working-directory: ${{ env.PACKAGE_DIRECTORY }} |
| 470 | + - id: build |
| 471 | + name: Build project |
| 472 | + run: yarn build |
| 473 | + - id: pack |
| 474 | + name: Pack project |
| 475 | + run: | |
| 476 | + yarn workspaces foreach --worktree --from=${{ format('@{0}/1', github.repository_owner, matrix.package) }} pack --out=${{ steps.tarball.outputs.result }} |
| 477 | + - id: attw |
| 478 | + name: Analyze types distribution |
| 479 | + run: attw ${{ steps.tarball.outputs.result }} --config-path=../../.attw.json |
| 480 | + working-directory: ${{ env.PACKAGE_DIRECTORY }} |
| 481 | + - id: archive |
| 482 | + name: Archive production artifact |
| 483 | + uses: actions/upload-artifact@v6.0.0 |
| 484 | + with: |
| 485 | + name: ${{ steps.tarball.outputs.result }} |
| 486 | + path: ${{ env.PACKAGE_DIRECTORY }}/${{ steps.tarball.outputs.result }} |
0 commit comments