Move package checks to be CI only

Licence and outdated.
This commit is contained in:
Robin Jones 2022-11-16 01:52:36 +00:00
Родитель 28aec4f7ec
Коммит 10ddc6a017
2 изменённых файлов: 4 добавлений и 5 удалений

5
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -53,12 +53,13 @@ jobs:
continue-on-error: true #TODO: we currently continue as a warning!
# check that all dependencies are .NET nanoFramework OSS license compatible
run: |
npm run check-package-licence-compatible --if-present
# TODO: we dont yet specify allowed licensed, just list them!
npx --yes -- license-checker --summary
- name: Run outdated package check
continue-on-error: true #TODO: we currently continue as a warning!
run: |
npm run check-package-outdated --if-present
npx --yes -- check-outdated --ignore-pre-releases --ignore-packages vscode-nanoframework --ignore-dev-dependencies --columns name,type,current,latest,changes --types major,minor,patch,reverted
# result=`npm run check-package-outdated --if-present`
# if $result ; then
# # ensure it is a warning, rather than an error, as GH workflow does not support it!

Просмотреть файл

@ -101,9 +101,7 @@
"test": "node ./out/test/runTest.js",
"clean": "rimraf ./out ./coverage",
"package": "npm run clean && nbgv-setversion && vsce package --githubBranch develop --out ./vscode-nanoframework.vsix && nbgv cloud -a -c",
"deploy": "vsce publish",
"check-package-outdated": "npx --yes -- check-outdated --ignore-pre-releases --ignore-packages vscode-nanoframework --ignore-dev-dependencies --columns name,type,current,latest,changes --types major,minor,patch,reverted",
"check-package-licence-compatible": "npx --yes -- license-checker --summary"
"deploy": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.0.0",