Skip to content

Commit 44238e4

Browse files
committed
ci(workflows): [ci] archive production artifacts
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 439ff67 commit 44238e4

1 file changed

Lines changed: 26 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ on:
4141
permissions:
4242
contents: read
4343
env:
44-
CACHE_PATH: node_modules
44+
CACHE_PATH: |
45+
node_modules
46+
packages/*/node_modules
4547
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4648
COVERAGE_SUMMARY: ./coverage/coverage-summary.json
4749
HUSKY: 0
@@ -459,26 +461,26 @@ jobs:
459461
- id: local-binaries
460462
name: Add local binaries to $PATH
461463
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

Comments
 (0)