chore(deps): update tj-actions/changed-files digest to 6da3c88 #1513
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Preview Release | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| preview-release: | |
| runs-on: buildjet-4vcpu-ubuntu-2204 | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| container: | |
| image: node:22 | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| - name: pnpm setup | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 | |
| - name: Install packages | |
| run: pnpm install --frozen-lockfile | |
| - name: Run Build | |
| run: pnpm turbo run build --filter=./packages/* | |
| - name: Find changed packages | |
| id: changed_packages | |
| uses: tj-actions/changed-files@6da3c88b60ebf09464ada9b06fba5b6f2d34bb94 | |
| with: | |
| files: packages/** | |
| dir_names: true | |
| dir_names_max_depth: 2 | |
| - name: Publish changed packages to pkg.pr.new | |
| if: steps.changed_packages.outputs.all_changed_and_modified_files != '' | |
| run: pnpm dlx pkg-pr-new publish ${{ steps.changed_packages.outputs.all_changed_and_modified_files }} |