Merge pull request #4171 from continuedev/dallin/npm-task
refresh-dependencies tasks
This commit is contained in:
commit
dc952d37c7
2 changed files with 49 additions and 13 deletions
13
.github/workflows/pr_checks.yaml
vendored
13
.github/workflows/pr_checks.yaml
vendored
|
|
@ -4,23 +4,10 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "extensions/intellij/**"
|
||||
- "extensions/vscode/**"
|
||||
- "core/**"
|
||||
- "gui/**"
|
||||
- ".github/workflows/**"
|
||||
- "docs/**"
|
||||
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "extensions/intellij/**"
|
||||
- "extensions/vscode/**"
|
||||
- "core/**"
|
||||
- "gui/**"
|
||||
- ".github/workflows/**"
|
||||
|
||||
jobs:
|
||||
install-root:
|
||||
|
|
|
|||
49
.vscode/tasks.json
vendored
49
.vscode/tasks.json
vendored
|
|
@ -186,6 +186,55 @@
|
|||
"command": "node",
|
||||
"args": ["${workspaceFolder}/scripts/uninstall.js"],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "refresh-dependencies:core",
|
||||
"type": "shell",
|
||||
"command": "npm",
|
||||
"args": ["install"],
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/core"
|
||||
},
|
||||
"presentation": {
|
||||
"close": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "refresh-dependencies:vscode",
|
||||
"type": "shell",
|
||||
"command": "npm",
|
||||
"args": ["install"],
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/extensions/vscode"
|
||||
},
|
||||
"presentation": {
|
||||
"close": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "refresh-dependencies:gui",
|
||||
"type": "shell",
|
||||
"command": "npm",
|
||||
"args": ["install"],
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/gui"
|
||||
},
|
||||
"presentation": {
|
||||
"close": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "refresh-dependencies:all",
|
||||
"dependsOn": [
|
||||
"refresh-dependencies:core",
|
||||
"refresh-dependencies:gui",
|
||||
"refresh-dependencies:vscode"
|
||||
],
|
||||
"type": "shell",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue