There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
ci: fix server build (#3541)
Alex Yange718428d5048
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex f862d0738c..8bb63ca6f6 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -59,6 +59,24 @@ jobs:- name: Run Type Checkrun: yarn typecheck+ build-server:+ name: Build Server+ runs-on: ubuntu-latest+ environment: development+ steps:+ - uses: actions/checkout@v3+ - name: Setup Node.js+ uses: ./.github/actions/setup-node+ with:+ electron-install: false+ - name: Build Server+ run: yarn nx build @affine/server+ - name: Upload server dist+ uses: actions/upload-artifact@v3+ with:+ name: server-dist+ path: ./apps/server/dist+ if-no-files-found: errorbuild-docs:name: Build Docsruns-on: ubuntu-latest@@ -483,10 +501,8 @@ jobs:build-docker:if: github.ref == 'refs/heads/master'name: Build Docker- needs:- - desktop-test- - server-testruns-on: ubuntu-latest+ needs: build-serversteps:- uses: actions/checkout@v3- name: Download core artifact@@ -494,9 +510,11 @@ jobs:with:name: corepath: ./apps/core/dist- - name: Compile server code- run: tsc -b- working-directory: ./apps/server+ - name: Download server dist+ uses: actions/download-artifact@v3+ with:+ name: server-dist+ path: ./apps/server/dist- name: Download storage.nodeuses: actions/download-artifact@v3with:diff --git a/apps/server/package.json b/apps/server/package.jsonindex 7914326407..2155cafb6b 100644--- a/apps/server/package.json+++ b/apps/server/package.json@@ -8,6 +8,7 @@"run-test": "./scripts/run-test.ts"},"scripts": {+ "build": "tsc","dev": "nodemon ./src/index.ts","test": "yarn exec ts-node-esm ./scripts/run-test.ts all","test:watch": "yarn exec ts-node-esm ./scripts/run-test.ts all --watch",