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:
Jesse Yang
2021-01-04 04:16:07 -08:00
committed by GitHub
parent 7cc0de1694
commit a3bbbf8ea3
173 changed files with 48871 additions and 78 deletions

View File

@@ -0,0 +1,29 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: "node",
testRunner: 'jest-circus/runner',
testMatch: ['**/*.test.ts'],
testPathIgnorePatterns: ['/src/tests/integration.test.ts'],
clearMocks: true,
collectCoverage: false,
coverageThreshold: {
global: {
branches: 50,
functions: 70,
lines: 75,
statements: 75
},
'./src/*.ts': {
branches: 70,
functions: 85,
lines: 85,
statements: 85
},
'./src/tests/**/*.ts': {
branches: 50,
functions: 60,
lines: 65,
statements: 65
}
}
}