mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-11 04:32:49 +00:00
Set node version in package.json
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
// See: https://jestjs.io/docs/configuration
|
// See: https://jestjs.io/docs/configuration
|
||||||
|
|
||||||
import type { JestConfigWithTsJest } from 'ts-jest'
|
/** @type {import('ts-jest').JestConfigWithTsJest} **/
|
||||||
|
export default {
|
||||||
const jestConfig: JestConfigWithTsJest = {
|
|
||||||
clearMocks: true,
|
clearMocks: true,
|
||||||
collectCoverage: true,
|
collectCoverage: true,
|
||||||
collectCoverageFrom: ['./src/**'],
|
collectCoverageFrom: ['./src/**'],
|
||||||
@@ -39,5 +38,3 @@ const jestConfig: JestConfigWithTsJest = {
|
|||||||
},
|
},
|
||||||
verbose: true
|
verbose: true
|
||||||
}
|
}
|
||||||
|
|
||||||
export default jestConfig
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
".": "./dist/index.js"
|
".": "./dist/index.js"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=21"
|
"node": ">=20"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bundle": "npm run format:write && npm run package",
|
"bundle": "npm run format:write && npm run package",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
"__tests__",
|
"__tests__",
|
||||||
"src",
|
"src",
|
||||||
"eslint.config.mjs",
|
"eslint.config.mjs",
|
||||||
"jest.config.ts",
|
"jest.config.js",
|
||||||
"rollup.config.ts"
|
"rollup.config.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user