Merge pull request #53 from KengoTODA/node-16

This commit is contained in:
Jonathan Leitschuh 2021-12-22 20:05:22 -05:00 committed by GitHub
commit 859c33240b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10340 additions and 1556 deletions

View file

@ -24,10 +24,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set Node.js 12.x
- name: Set Node.js 16.x
uses: actions/setup-node@v2.4.1
with:
node-version: 12.x
node-version: 16.x
- name: Validate package-lock
run: npx lockfile-lint --path package-lock.json --allowed-hosts npm yarn --validate-https

View file

@ -17,7 +17,7 @@ inputs:
default: ''
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:

1125
dist/index.js vendored

File diff suppressed because it is too large Load diff

10639
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -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"
}
}

View file

@ -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}`)
}
}
}

View file

@ -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. */