Merge pull request #15110 from mozilla/dont-fail-fast-for-compile

task(ci): Build all packages but don't fail fast
This commit is contained in:
Dan Schomburg 2023-04-05 12:16:50 -07:00 коммит произвёл GitHub
Родитель 503f99ea76 86d883049f
Коммит 89d30fb047
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 12 добавлений и 10 удалений

Просмотреть файл

@ -299,7 +299,7 @@ commands:
steps:
- run:
name: Compiling TypeScript
command: yarn workspaces foreach --exclude fxa-payments-server --exclude fxa-content-server --topological-dev --verbose run compile
command: yarn workspaces foreach --topological-dev --verbose run compile
report-coverage:
# Not currently used. But should be soon once coverage reports are fixed up.
@ -720,8 +720,6 @@ workflows:
name: Compile (PR)
requires:
- Build (PR)
post-steps:
- fail-fast
- unit-test:
name: Unit Test (PR)
requires:
@ -998,8 +996,6 @@ workflows:
only: /.*/
requires:
- Build
post-steps:
- fail-fast
- unit-test:
name: Unit Test
filters:
@ -1152,8 +1148,6 @@ workflows:
name: Compile (nightly)
requires:
- Build (nightly)
post-steps:
- fail-fast
- unit-test:
name: Unit Test (nightly)
requires:

Просмотреть файл

@ -27,7 +27,11 @@ interface IResumeTokenMixin {
}
const RESUME_TOKEN_FIELDS = ['planId', 'productId'];
class SubscriptionModel extends Backbone.Model {
class SubscriptionModel extends Backbone.Model<
Record<string, unknown>,
Record<string, unknown>,
{ window?: Window }
> {
window?: Window;
resumeTokenFields?: string[];
@ -42,7 +46,7 @@ class SubscriptionModel extends Backbone.Model {
);
}
initialize(attrs = {}, options: { window?: Window } = {}) {
initialize(_attrs = {}, options: { window?: Window } = {}) {
if (this.get('planId') && this.get('productId')) {
// already set, no need to look anywhere else for the values.
return;

Просмотреть файл

@ -4,7 +4,7 @@
"exclude": ["node_modules", "**/*.spec.ts"],
"compilerOptions": {
"outDir": "./.tscompiled/",
"rootDir": "./app/scripts/",
"rootDirs": ["./app/scripts/", "./server/lib/routes/react-app"],
"baseUrl": "./app/scripts",
"noImplicitAny": false
},

Просмотреть файл

@ -20,6 +20,10 @@
"include": [
"src"
],
"exclude": [
"**/*.test.ts",
"**/*.test.tsx"
],
"references": [
{
"path": "../fxa-react"