refactor(native): remove unused code (#4651)

This commit is contained in:
Alex Yang
2023-10-17 18:19:06 -05:00
committed by GitHub
parent a430266389
commit bb046a12dc
11 changed files with 47 additions and 391 deletions

View File

@@ -55,6 +55,25 @@ jobs:
path: ./apps/core/dist
if-no-files-found: error
build-native:
name: Build Native
runs-on: ubuntu-latest
environment: development
needs: build-core
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with:
target: x86_64-unknown-linux-gnu
package: '@affine/native'
nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Run tests
run: yarn test
working-directory: ./packages/native
desktop-test:
name: Desktop Test
runs-on: ${{ matrix.spec.os }}