Skip to content

Commit

Permalink
Update all direct dependencies
Browse files Browse the repository at this point in the history
* use node v16
* upgrade typescript to v4.5.5
* upgrade actions/github to v5
* use vercel/ncc v0.33.3
  • Loading branch information
SVilgelm committed Feb 24, 2022
1 parent 423fbaf commit 80eee61
Show file tree
Hide file tree
Showing 8 changed files with 127,555 additions and 129,358 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ inputs:
default: false
required: true
runs:
using: "node12"
using: "node16"
main: "dist/run/index.js"
post: "dist/post_run/index.js"
branding:
Expand Down
127,548 changes: 63,446 additions & 64,102 deletions dist/post_run/index.js

Large diffs are not rendered by default.

127,578 changes: 63,461 additions & 64,117 deletions dist/run/index.js

Large diffs are not rendered by default.

1,761 changes: 635 additions & 1,126 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,24 @@
"license": "MIT",
"dependencies": {
"@actions/cache": "^1.0.9",
"@actions/core": "^1.5.0",
"@actions/core": "^1.6.0",
"@actions/exec": "^1.1.0",
"@actions/github": "^4.0.0",
"@actions/github": "^5.0.0",
"@actions/tool-cache": "^1.7.1",
"@types/semver": "^7.3.9",
"@types/tmp": "^0.2.3",
"tmp": "^0.2.1"
},
"devDependencies": {
"@types/node": "^17.0.19",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@zeit/ncc": "^0.22.3",
"eslint": "^7.32.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vercel/ncc": "^0.33.3",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.5.1",
"typescript": "^4.3.5"
"typescript": "^4.5.5"
}
}
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function fetchPatch(): Promise<string> {
const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }))
let patch: string
try {
const patchResp = await octokit.pulls.get({
const patchResp = await octokit.rest.pulls.get({
owner: ctx.repo.owner,
repo: ctx.repo.repo,
[`pull_number`]: pull.number,
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"tsBuildInfoFile": ".tsbuildinfo",
"incremental": true
"incremental": true,
"useUnknownInCatchVariables": false
},
"exclude": ["node_modules", "**/*.test.ts"]
}
}

0 comments on commit 80eee61

Please sign in to comment.