mirror of
https://github.com/actions/upload-artifact.git
synced 2026-03-13 21:34:48 +00:00
Some checks failed
Licensed / Check licenses (push) Successful in 1m13s
Test Proxy / test-proxy-upload (push) Failing after 1m58s
Code scanning - action / CodeQL-Build (push) Failing after 2m38s
Check dist/ / check-dist (push) Successful in 3m5s
Test / Build (ubuntu-latest) (push) Failing after 3m28s
Test / Build (macos-latest) (push) Has been cancelled
Test / Build (windows-latest) (push) Has been cancelled
Test / Merge (push) Has been cancelled
* Upgrade the module to ESM and bump dependencies * CI: bump node versions * Push build files * Fix linting issues * Bump the package version * Cache licenses * Bump minimatch to 10.1.1 * Try fixing licenced issues * More licensed fixes * eslint: don't allow common-js imports
25 lines
496 B
TypeScript
25 lines
496 B
TypeScript
export default {
|
|
clearMocks: true,
|
|
moduleFileExtensions: ['js', 'ts'],
|
|
roots: ['<rootDir>'],
|
|
testEnvironment: 'node',
|
|
testMatch: ['**/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.ts$': [
|
|
'ts-jest',
|
|
{
|
|
useESM: true,
|
|
diagnostics: {
|
|
ignoreCodes: [151002]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
extensionsToTreatAsEsm: ['.ts'],
|
|
transformIgnorePatterns: ['node_modules/(?!(@actions)/)'],
|
|
moduleNameMapper: {
|
|
'^(\\.{1,2}/.*)\\.js$': '$1'
|
|
},
|
|
verbose: true
|
|
}
|