Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/node-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ jobs:
with:
fetch-depth: ${{ inputs.fetch-depth }}
persist-credentials: false
- name: Fetch Origin
run: git fetch origin
- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
Expand Down Expand Up @@ -275,6 +273,13 @@ jobs:
INPUTS_PACKAGE_MANAGER: ${{ inputs.package-manager }}
INPUTS_BUILD_COMMAND: ${{ inputs.build-command }}

- name: Fetch all commits for Nx
if: steps.check-build.outputs.exists-script != 'true' && steps.check-build.outputs.exists-nx-target == 'true'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with:
fetch-depth: 0
persist-credentials: false

- name: Build (nx)
if: steps.check-build.outputs.exists-script != 'true' && steps.check-build.outputs.exists-nx-target == 'true'
run: npx nx run-many -t ${INPUTS_BUILD_COMMAND} ${{ inputs.debug && '--verbose' || '' }}
Expand Down Expand Up @@ -311,8 +316,6 @@ jobs:
with:
fetch-depth: ${{ inputs.fetch-depth }}
persist-credentials: false
- name: Fetch Origin
run: git fetch origin
- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
Expand Down Expand Up @@ -405,6 +408,15 @@ jobs:
with:
command: ${{ inputs.check-types-command }}

- name: Fetch all commits for Nx
if: >-
steps.check-check-types.outputs.exists-script != 'true' &&
steps.check-check-types.outputs.exists-nx-target == 'true'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with:
fetch-depth: 0
persist-credentials: false

- name: Build commands list
id: build-commands
run: |
Expand Down