mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-27 08:41:04 +08:00
67109bc4b2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
24 lines
584 B
TypeScript
24 lines
584 B
TypeScript
process.env = Object.assign({}, process.env, {
|
|
RUNNER_TEMP: '/tmp/github_runner',
|
|
RUNNER_TOOL_CACHE: '/tmp/github_tool_cache',
|
|
GITHUB_REPOSITORY: 'docker/build-push-action',
|
|
GITHUB_RUN_ID: '123456789'
|
|
}) as {
|
|
[key: string]: string;
|
|
};
|
|
|
|
module.exports = {
|
|
clearMocks: false,
|
|
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
|
|
};
|