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: boost up next build time
himself65e19c32aa5d76
diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.ymlindex 9b96405680..e3b5233450 100644--- a/.github/workflows/build-master.yml+++ b/.github/workflows/build-master.yml@@ -5,6 +5,17 @@ on:branches: [master]jobs:+ lint:+ name: Lint+ runs-on: ubuntu-latest+ environment: development++ steps:+ - uses: actions/checkout@v3+ - name: Setup Node.js+ uses: ./.github/actions/setup-node+ - run: yarn lint --max-warnings=0+build-frontend:name: Build frontendruns-on: ubuntu-latest@@ -14,6 +25,14 @@ jobs:- uses: actions/checkout@v3- name: Setup Node.jsuses: ./.github/actions/setup-node+ - name: Cache Next.js+ uses: actions/cache@v3+ with:+ path: |+ ${{ github.workspace }}/apps/web/.next/cache+ key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}+ restore-keys: |+ ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-- name: Buildrun: yarn builddiff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex e3645372a3..99ed8912a2 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -6,6 +6,17 @@ on:- masterjobs:+ lint:+ name: Lint+ runs-on: ubuntu-latest+ environment: development++ steps:+ - uses: actions/checkout@v3+ - name: Setup Node.js+ uses: ./.github/actions/setup-node+ - run: yarn lint --max-warnings=0+build:name: Build on Pull Requestruns-on: ubuntu-latest@@ -15,7 +26,14 @@ jobs:- uses: actions/checkout@v3- name: Setup Node.jsuses: ./.github/actions/setup-node- - run: yarn lint --max-warnings=0+ - name: Cache Next.js+ uses: actions/cache@v3+ with:+ path: |+ ${{ github.workspace }}/apps/web/.next/cache+ key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}+ restore-keys: |+ ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-- name: Buildrun: yarn buildenv:@@ -27,9 +45,6 @@ jobs:NEXT_PUBLIC_FIREBASE_APP_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_APP_ID }}NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{ secrets.NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID }}- - name: Export- run: yarn export-- name: Upload artifactuses: actions/upload-artifact@v3with: