mirror of
https://github.com/docker/build-push-action
synced 2024-11-10 05:21:40 +00:00
67109bc4b2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
23 lines
584 B
TypeScript
23 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
|
|
};
|