Skip to content

Commit

Permalink
deps up
Browse files Browse the repository at this point in the history
  • Loading branch information
atlowChemi committed Jul 2, 2024
1 parent 10941ca commit 49cbaec
Show file tree
Hide file tree
Showing 5 changed files with 435 additions and 293 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"license": "MIT",
"scripts": {
"type-check": "tsc --noEmit",
"build": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=lib/index.js --sourcemap",
"build": "esbuild src/index.ts --bundle --platform=node --target=node20 --outfile=lib/index.js --sourcemap",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"lint": "eslint --ext .ts src/",
"all": "yarn type-check && yarn build && yarn format && yarn lint"
},
"repository": {
Expand All @@ -29,19 +29,19 @@
"Testim.io"
],
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@actions/glob": "^0.4.0",
"fast-xml-parser": "^4.2.5",
"fast-xml-parser": "^4.4.0",
"global": "^4.4.0",
"source-map-support": "^0.5.21",
"tsx": "^3.12.3",
"tsx": "^4.16.0",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@types/node": "20",
"@typescript-eslint/parser": "^5.52.0",
"esbuild": "^0.17.10",
"esbuild": "^0.23.0",
"eslint": "^8.34.0",
"eslint-plugin-github": "^4.6.1",
"prettier": "^2.8.4",
Expand Down
2 changes: 1 addition & 1 deletion src/junitParser.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fs from 'fs';
import * as fs from 'node:fs';
import * as core from '@actions/core';
import * as glob from '@actions/glob';
import * as github from '@actions/github';
Expand Down
2 changes: 1 addition & 1 deletion src/messageBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async function annotateTestResult(testResult: TestResult, token: string, headSha
await octokit.rest.checks.update(updateCheckRequest);
}
} else {
const createCheckRequest = {
const createCheckRequest: Parameters<typeof octokit.rest.checks.create>[0] = {
...github.context.repo,
name: testResult.checkName,
head_sha: headSha,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2019",
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "node",
"moduleResolution": "NodeNext",
"outDir": "./lib",
"rootDir": ".",
"baseUrl": ".",
Expand Down
Loading

0 comments on commit 49cbaec

Please sign in to comment.