mirror of
https://github.com/gradle/wrapper-validation-action
synced 2024-11-24 01:22:01 +00:00
Merge pull request #53 from KengoTODA/node-16
This commit is contained in:
commit
859c33240b
7 changed files with 10340 additions and 1556 deletions
4
.github/workflows/check-dist.yml
vendored
4
.github/workflows/check-dist.yml
vendored
|
@ -24,10 +24,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set Node.js 12.x
|
- name: Set Node.js 16.x
|
||||||
uses: actions/setup-node@v2.4.1
|
uses: actions/setup-node@v2.4.1
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 16.x
|
||||||
|
|
||||||
- name: Validate package-lock
|
- name: Validate package-lock
|
||||||
run: npx lockfile-lint --path package-lock.json --allowed-hosts npm yarn --validate-https
|
run: npx lockfile-lint --path package-lock.json --allowed-hosts npm yarn --validate-https
|
||||||
|
|
|
@ -17,7 +17,7 @@ inputs:
|
||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node16'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
|
|
||||||
branding:
|
branding:
|
||||||
|
|
1125
dist/index.js
vendored
1125
dist/index.js
vendored
File diff suppressed because it is too large
Load diff
10639
package-lock.json
generated
10639
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": {
|
"devDependencies": {
|
||||||
"@types/node": "12.20.16",
|
"@types/node": "12.20.16",
|
||||||
"@typescript-eslint/parser": "4.28.4",
|
"@typescript-eslint/parser": "5.8.0",
|
||||||
"@vercel/ncc": "0.29.0",
|
"@vercel/ncc": "0.29.0",
|
||||||
"eslint": "7.31.0",
|
"eslint": "8.5.0",
|
||||||
"eslint-plugin-github": "4.1.5",
|
"eslint-plugin-github": "4.3.5",
|
||||||
"eslint-plugin-jest": "24.4.0",
|
"eslint-plugin-jest": "25.3.0",
|
||||||
|
"glob-parent": ">=5.1.2",
|
||||||
"jest": "27.0.6",
|
"jest": "27.0.6",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"nock": "13.1.1",
|
"nock": "13.1.1",
|
||||||
"prettier": "2.3.2",
|
"prettier": "2.3.2",
|
||||||
"ts-jest": "27.0.4",
|
"ts-jest": "27.0.4",
|
||||||
"typescript": "4.0.8",
|
"typescript": "4.5.4"
|
||||||
"glob-parent": ">=5.1.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,11 @@ export async function run(): Promise<void> {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
if (error instanceof Error) {
|
||||||
core.setFailed(error.message)
|
core.setFailed(error.message)
|
||||||
|
} else {
|
||||||
|
core.setFailed(`Unknown object was thrown: ${error}`)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"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'. */
|
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
||||||
"outDir": "./lib", /* Redirect output structure to the directory. */
|
"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. */
|
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||||
|
|
Loading…
Reference in a new issue