mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
build: inline external Github Actions to unblock CI (#12241)
* build: inline cached-dependencies to unblock CI * Run E2E on pull_request on;y * Inline all external actions * Checkout needed for internal actions Also fixes pre-commit * Add missing files
This commit is contained in:
21
.github/actions/cached-dependencies/jest.config.js
vendored
Normal file
21
.github/actions/cached-dependencies/jest.config.js
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
module.exports = {
|
||||
clearMocks: true,
|
||||
moduleFileExtensions: ['js', 'ts'],
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest',
|
||||
},
|
||||
transformIgnorePatterns: [
|
||||
'/node_modules/(?!@actions).+\\.js$',
|
||||
],
|
||||
verbose: true,
|
||||
};
|
||||
|
||||
// suppress debug messages
|
||||
const processStdoutWrite = process.stdout.write.bind(process.stdout);
|
||||
process.stdout.write = (str, encoding, cb) => {
|
||||
processStdoutWrite(str.split('\n').filter(x => {
|
||||
return !/^::debug::/.test(x);
|
||||
}).join('\n'), encoding, cb);
|
||||
};
|
||||
Reference in New Issue
Block a user