mirror of
https://github.com/gradle/wrapper-validation-action
synced 2024-11-23 17:22:01 +00:00
fix: bump up nodejs to v16
This commit is contained in:
parent
84d7e182ae
commit
094d8354f0
6 changed files with 10341 additions and 1557 deletions
|
@ -17,7 +17,7 @@ inputs:
|
|||
default: ''
|
||||
|
||||
runs:
|
||||
using: 'node12'
|
||||
using: 'node16'
|
||||
main: 'dist/index.js'
|
||||
|
||||
branding:
|
||||
|
|
1125
dist/index.js
vendored
1125
dist/index.js
vendored
File diff suppressed because it is too large
Load diff
10645
package-lock.json
generated
10645
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
@ -31,17 +31,17 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "12.20.16",
|
||||
"@typescript-eslint/parser": "4.28.4",
|
||||
"@typescript-eslint/parser": "5.8.0",
|
||||
"@vercel/ncc": "0.29.0",
|
||||
"eslint": "7.31.0",
|
||||
"eslint-plugin-github": "4.1.5",
|
||||
"eslint-plugin-jest": "24.4.0",
|
||||
"eslint": "8.5.0",
|
||||
"eslint-plugin-github": "4.3.5",
|
||||
"eslint-plugin-jest": "25.3.0",
|
||||
"glob-parent": ">=5.1.2",
|
||||
"jest": "27.0.6",
|
||||
"js-yaml": "4.1.0",
|
||||
"nock": "13.1.1",
|
||||
"prettier": "2.3.2",
|
||||
"ts-jest": "27.0.4",
|
||||
"typescript": "4.0.8",
|
||||
"glob-parent": ">=5.1.2"
|
||||
"typescript": "4.5.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,11 @@ export async function run(): Promise<void> {
|
|||
)
|
||||
}
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
core.setFailed(error.message)
|
||||
} else {
|
||||
core.setFailed(`Unknown object was thrown: ${error}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"target": "ES2021", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
||||
"outDir": "./lib", /* Redirect output structure to the directory. */
|
||||
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
|
|
Loading…
Reference in a new issue