mirror of
https://git.studyfor.work/actions/gitea-tool-cache.git
synced 2026-01-12 00:16:03 +08:00
1
This commit is contained in:
parent
5197a2fe70
commit
089f2c31a6
8
.vscode/settings.json
vendored
Normal file
8
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"search.exclude": {
|
||||||
|
"**/node_modules": true,
|
||||||
|
"**/bower_components": true,
|
||||||
|
"**/*.code-search": true,
|
||||||
|
"**/dist": true,
|
||||||
|
}
|
||||||
|
}
|
||||||
38758
dist/index.js
vendored
38758
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "chcp 65001 && jest --coverage",
|
"test": "chcp 65001 && jest --coverage",
|
||||||
"build": "rimraf ./dist && ncc build -m -o dist src/index.ts"
|
"build": "rimraf ./dist && ncc build -o dist src/index.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/node16": "^16.1.1",
|
"@tsconfig/node16": "^16.1.1",
|
||||||
|
|||||||
@ -17,7 +17,7 @@ export async function nodeInstall() {
|
|||||||
const version = await nodeVersionAlias(nodeVersion, {
|
const version = await nodeVersionAlias(nodeVersion, {
|
||||||
mirror: 'https://npmmirror.com/mirrors/node'
|
mirror: 'https://npmmirror.com/mirrors/node'
|
||||||
}).catch(err => err);
|
}).catch(err => err);
|
||||||
|
console.log(version);
|
||||||
if (version instanceof Error) {
|
if (version instanceof Error) {
|
||||||
console.log('node版本错误', version);
|
console.log('node版本错误', version);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user