mirror of
https://github.com/Azure/setup-kubectl.git
synced 2025-12-12 21:21:19 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
c87caae634
4 changed files with 917 additions and 1104 deletions
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@39edc492dbe16b1465b0cafca41432d857bdb31a # v3.29.1
|
||||
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build-mode }}
|
||||
|
|
@ -86,6 +86,6 @@ jobs:
|
|||
echo ' make release'
|
||||
exit 1
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@39edc492dbe16b1465b0cafca41432d857bdb31a # v3.29.1
|
||||
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
|
||||
with:
|
||||
category: '/language:${{matrix.language}}'
|
||||
|
|
|
|||
9
.husky/pre-commit
Normal file
9
.husky/pre-commit
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
set +e
|
||||
npm test
|
||||
# Run format check
|
||||
npm run format-check || {
|
||||
echo ""
|
||||
echo "❌ Formatting check failed."
|
||||
echo "💡 Run 'npm run format' or 'prettier --write .' to fix formatting issues."
|
||||
exit 1
|
||||
}
|
||||
1998
package-lock.json
generated
1998
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
|
@ -8,7 +8,8 @@
|
|||
"test": "jest",
|
||||
"test-coverage": "jest --coverage",
|
||||
"format": "prettier --write .",
|
||||
"format-check": "prettier --check ."
|
||||
"format-check": "prettier --check .",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
|
|
@ -25,10 +26,11 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^24.0.4",
|
||||
"@types/node": "^24.0.10",
|
||||
"@vercel/ncc": "^0.38.3",
|
||||
"jest": "^30.0.0",
|
||||
"prettier": "3.5.3",
|
||||
"husky": "^9.1.7",
|
||||
"jest": "^30.0.4",
|
||||
"prettier": "3.6.2",
|
||||
"ts-jest": "^29.4.0",
|
||||
"typescript": "5.8.3"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue