feat: enhance code analysis workflow with debugging information and workspace cleanup
This commit is contained in:
@@ -10,6 +10,22 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Ensure clean workspace
|
||||||
|
run: |
|
||||||
|
git reset --hard HEAD
|
||||||
|
git clean -fdx
|
||||||
|
|
||||||
|
- name: Debug dependency files
|
||||||
|
run: |
|
||||||
|
echo "commit: $(git rev-parse HEAD)"
|
||||||
|
echo "branch ref: ${GITHUB_REF:-unknown}"
|
||||||
|
echo "package.json checksum:" && sha256sum package.json
|
||||||
|
echo "package-lock.json checksum:" && sha256sum package-lock.json
|
||||||
|
echo "eslint entries in package.json:" && rg '"eslint"' package.json || true
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user