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 7099edc591
commit ebae2f4ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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(),

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

Loading…
Cancel
Save