Skip to content

Commit 49cbaec

Browse files
committed
deps up
1 parent 10941ca commit 49cbaec

File tree

5 files changed

+435
-293
lines changed

5 files changed

+435
-293
lines changed

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"license": "MIT",
99
"scripts": {
1010
"type-check": "tsc --noEmit",
11-
"build": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=lib/index.js --sourcemap",
11+
"build": "esbuild src/index.ts --bundle --platform=node --target=node20 --outfile=lib/index.js --sourcemap",
1212
"format": "prettier --write **/*.ts",
1313
"format-check": "prettier --check **/*.ts",
14-
"lint": "eslint src/**/*.ts",
14+
"lint": "eslint --ext .ts src/",
1515
"all": "yarn type-check && yarn build && yarn format && yarn lint"
1616
},
1717
"repository": {
@@ -29,19 +29,19 @@
2929
"Testim.io"
3030
],
3131
"dependencies": {
32-
"@actions/core": "^1.10.0",
33-
"@actions/github": "^5.1.1",
32+
"@actions/core": "^1.10.1",
33+
"@actions/github": "^6.0.0",
3434
"@actions/glob": "^0.4.0",
35-
"fast-xml-parser": "^4.2.5",
35+
"fast-xml-parser": "^4.4.0",
3636
"global": "^4.4.0",
3737
"source-map-support": "^0.5.21",
38-
"tsx": "^3.12.3",
38+
"tsx": "^4.16.0",
3939
"xml-js": "^1.6.11"
4040
},
4141
"devDependencies": {
4242
"@types/node": "20",
4343
"@typescript-eslint/parser": "^5.52.0",
44-
"esbuild": "^0.17.10",
44+
"esbuild": "^0.23.0",
4545
"eslint": "^8.34.0",
4646
"eslint-plugin-github": "^4.6.1",
4747
"prettier": "^2.8.4",

src/junitParser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as fs from 'fs';
1+
import * as fs from 'node:fs';
22
import * as core from '@actions/core';
33
import * as glob from '@actions/glob';
44
import * as github from '@actions/github';

src/messageBuilder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function annotateTestResult(testResult: TestResult, token: string, headSha
5555
await octokit.rest.checks.update(updateCheckRequest);
5656
}
5757
} else {
58-
const createCheckRequest = {
58+
const createCheckRequest: Parameters<typeof octokit.rest.checks.create>[0] = {
5959
...github.context.repo,
6060
name: testResult.checkName,
6161
head_sha: headSha,

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2019",
3+
"target": "ES2022",
44
"module": "NodeNext",
5-
"moduleResolution": "node",
5+
"moduleResolution": "NodeNext",
66
"outDir": "./lib",
77
"rootDir": ".",
88
"baseUrl": ".",

0 commit comments

Comments
 (0)