Skip to content

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.

ci: enable octobase server in unit test

himself65a415e4aa5c8f
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7d42142135..f1e9ae9758 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -295,6 +295,22 @@ jobs:
runs-on: ubuntu-latest
environment: development
needs: [build, pull_request]
+ permissions:
+ contents: read
+ packages: write
+ checks: write
+ services:
+ octobase:
+ image: ghcr.io/toeverything/cloud:nightly-latest
+ ports:
+ - 3000:3000
+ env:
+ SIGN_KEY: 'test123'
+ RUST_LOG: 'debug'
+ JWST_DEV: '1'
+ credentials:
+ username: ${{ github.actor }}
+ password: ${{ secrets.ACTIONS_PACKAGE_PUBLISH }}
steps:
- uses: actions/checkout@v3