Fix GitHub Actions warning for setup-node inputs
- Move 'ref' and 'fetch-depth' parameters from setup-node to checkout action - These parameters belong to actions/checkout, not actions/setup-node - Resolves "Unexpected input(s)" warnings in workflow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
5
.github/workflows/gh-pages.yml
vendored
5
.github/workflows/gh-pages.yml
vendored
@@ -11,11 +11,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 23
|
node-version: 23
|
||||||
ref: ${{ github.ref }}
|
|
||||||
fetch-depth: 0
|
|
||||||
- run: |
|
- run: |
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user