♻️ (crdt) moved re-used utils in actual-server to separate package (#1150)

actual-server does not need to import the full actual-app/api package.
It can import only the CRDT stuff.. so I'm extracting it into a new
package to reduce the size of actual-server and make the link between
things more transparent.
This commit is contained in:
Matiss Janis Aboltins
2023-06-18 20:16:50 +01:00
committed by GitHub
parent fcb1bba7fa
commit 610c42a1ae
36 changed files with 162 additions and 86 deletions

View File

@@ -31,6 +31,22 @@ jobs:
name: actual-api
path: packages/api/actual-api.tgz
crdt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: ./.github/actions/setup
- name: Build CRDT
run: cd packages/crdt && yarn build
- name: Create package tgz
run: cd packages/crdt && yarn pack && mv package.tgz actual-crdt.tgz
- name: Upload Build
uses: actions/upload-artifact@v3
with:
name: actual-crdt
path: packages/crdt/actual-crdt.tgz
web:
runs-on: ubuntu-latest
steps: