Browse Source

Feature/travis (#77)

* integrate travis

* fix prettier transactions-page.component.ts

* change base branch to main

* fetch all branches in .travis.yml
pull/78/head
Valentin Zickner 3 years ago
committed by GitHub
parent
commit
ebae2f4ec9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .travis.yml
  2. 8
      apps/client/src/app/pages/transactions/transactions-page.component.ts
  3. 2
      nx.json

9
.travis.yml

@ -0,0 +1,9 @@
language: node_js
git:
depth: false
node_js:
- 14
before_script:
- yarn
script:
- yarn format:check

8
apps/client/src/app/pages/transactions/transactions-page.component.ts

@ -184,9 +184,11 @@ export class TransactionsPageComponent implements OnInit {
data: {
accounts: this.user?.accounts,
transaction: {
accountId: aTransaction?.accountId ?? this.user?.accounts.find((account) => {
return account.isDefault;
})?.id,
accountId:
aTransaction?.accountId ??
this.user?.accounts.find((account) => {
return account.isDefault;
})?.id,
currency: aTransaction?.currency ?? null,
dataSource: aTransaction?.dataSource ?? null,
date: new Date(),

2
nx.json

@ -6,7 +6,7 @@
".eslintrc.json": "*",
"nx.json": "*"
},
"affected": { "defaultBase": "master" },
"affected": { "defaultBase": "origin/main" },
"npmScope": "ghostfolio",
"tasksRunnerOptions": {
"default": {

Loading…
Cancel
Save