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
chore: split e2e & unit test
DarkSky3e5b135ceb17
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex e288457c1c..a351e80296 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -5,17 +5,13 @@ on:pull_request:branches: [master]jobs:- test:+ e2e-test:timeout-minutes: 60- runs-on: ubuntu-latest+ runs-on: self-hostedsteps:- uses: actions/checkout@v3- - uses: pnpm/action-setup@v2- with:- version: 'latest'-- uses: actions/setup-node@v3with:node-version: 16@@ -23,6 +19,10 @@ jobs:scope: '@toeverything'cache: 'pnpm'+ - uses: pnpm/action-setup@v2+ with:+ version: 'latest'+- run: node scripts/module-resolve/ci.cjs- name: Install dependencies@@ -53,5 +53,33 @@ jobs:name: affinefail_ci_if_error: true+ unit-test:+ timeout-minutes: 60+ runs-on: ubuntu-latest++ steps:+ - uses: actions/checkout@v3++ - uses: actions/setup-node@v3+ with:+ node-version: 16+ registry-url: https://npm.pkg.github.com+ scope: '@toeverything'+ cache: 'pnpm'++ - uses: pnpm/action-setup@v2+ with:+ version: 'latest'++ - run: node scripts/module-resolve/ci.cjs++ - name: Install dependencies+ run: pnpm install --no-frozen-lockfile+ env:+ NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}++ - name: Install Playwright browsers+ run: npx playwright install chromium+- name: Run Unit testsrun: pnpm run test:unit