Update actions/node-ci/action.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Felipe Knorr Kuhn 2026-02-15 16:18:28 -08:00 committed by GitHub
parent 7314df1f3e
commit cae82129e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,20 +33,13 @@ inputs:
runs:
using: 'composite'
steps:
- name: Checkout (custom ref)
if: inputs.checkout-ref != ''
- name: Checkout
uses: actions/checkout@v4
with:
path: ${{ inputs.checkout-path }}
# When checkout-ref is empty, actions/checkout uses the default github.ref
ref: ${{ inputs.checkout-ref }}
submodules: ${{ inputs.checkout-submodules }}
- name: Checkout (default ref)
if: inputs.checkout-ref == ''
uses: actions/checkout@v4
with:
path: ${{ inputs.checkout-path }}
# When checkout-ref is empty, rely on the default github.ref
submodules: ${{ inputs.checkout-submodules }}
- name: Setup Node.js
uses: actions/setup-node@v4
with: