You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-09-15 01:04:05 +07:00
Update main.workflow
This commit is contained in:
5
.github/main.workflow
vendored
5
.github/main.workflow
vendored
@ -12,10 +12,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 10.x
|
version: 10.x
|
||||||
|
|
||||||
- name: npm install
|
|
||||||
# Explicitly uninstall husky so that we avoid issues with git hooks/node versioning.
|
# Explicitly uninstall husky so that we avoid issues with git hooks/node versioning.
|
||||||
# Should switch to clean checkout instead when supported.
|
# Should switch to clean checkout instead when supported.
|
||||||
run: npm prune --production && npm install && npm uninstall husky
|
run: npm prune --production
|
||||||
|
run: npm install
|
||||||
|
run: npm uninstall husky
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: npm run format-check
|
run: npm run format-check
|
||||||
|
Reference in New Issue
Block a user