mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-26 22:26:08 +08:00
70326fd842
carries most of the logic used across our actions Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
22 lines
504 B
TypeScript
22 lines
504 B
TypeScript
process.env = Object.assign({}, process.env, {
|
|
RUNNER_TEMP: '/tmp/github_runner',
|
|
RUNNER_TOOL_CACHE: '/tmp/github_tool_cache'
|
|
}) as {
|
|
[key: string]: string;
|
|
};
|
|
|
|
module.exports = {
|
|
clearMocks: true,
|
|
testEnvironment: 'node',
|
|
moduleFileExtensions: ['js', 'ts'],
|
|
setupFiles: ['dotenv/config'],
|
|
testMatch: ['**/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.ts$': 'ts-jest'
|
|
},
|
|
moduleNameMapper: {
|
|
'^csv-parse/sync': '<rootDir>/node_modules/csv-parse/dist/cjs/sync.cjs'
|
|
},
|
|
verbose: true
|
|
};
|