mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
* Make it easier to build the bundle.api.js for the API
* Remove budgetId parameter, move config to top level of API
* that’s a breaking change
* Add support for signing into the server in init()
* Add api.downloadBudget(syncId, { password }) method
* Fix lint errors
* Refactor: extract out getSyncError
* api/download-budget: sync if possible instead of downloading
* Don’t bother with fetching remote files and installing key if the file is local
* *groupId
* FIx lint issues
* Remove extra close+reopen
* Refactor out duplicate load-budget logic
* Trailing commas
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: Build
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
env:
|
|
CI: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches: '*'
|
|
|
|
jobs:
|
|
api:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up environment
|
|
uses: ./.github/actions/setup
|
|
- name: Build API
|
|
run: cd packages/api && yarn build
|
|
|
|
web:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up environment
|
|
uses: ./.github/actions/setup
|
|
- name: Build Web
|
|
run: ./bin/package-browser
|
|
|
|
# TODO: re-enable after solving https://github.com/actualbudget/actual/issues/468
|
|
# electron:
|
|
# # As electron builds take longer, we only run them in master.
|
|
# if: github.event_name != 'pull_request'
|
|
# strategy:
|
|
# matrix:
|
|
# os:
|
|
# - ubuntu-latest
|
|
# - windows-latest
|
|
# - macos-latest
|
|
# runs-on: ${{ matrix.os }}
|
|
# steps:
|
|
# - uses: actions/checkout@v2
|
|
# - name: Set up environment
|
|
# uses: ./.github/actions/setup
|
|
# - name: Build Electron
|
|
# run: ./bin/package
|