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
fix: nx build input (#2755)
Himself65dff8a0db7d3e
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex d495380621..ca5028b4e0 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -77,7 +77,7 @@ jobs:key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}restore-keys: |${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-- - name: Build+ - name: Build Webrun: yarn nx build @affine/webenv:API_SERVER_PROFILE: local@@ -94,25 +94,7 @@ jobs:path: ./apps/web/.nextif-no-files-found: error- build-web-for-desktop:- name: Build @affine/web for desktop- runs-on: ubuntu-latest- environment: development-- steps:- - uses: actions/checkout@v3- - name: Setup Node.js- uses: ./.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: Build+ - name: Build Web (Desktop)run: yarn nx build @affine/webenv:API_SERVER_PROFILE: affine@@ -271,7 +253,7 @@ jobs:path: ./test-resultsif-no-files-found: ignore- dekstop-test:+ desktop-test:name: Desktop Testruns-on: ${{ matrix.spec.os }}environment: development@@ -308,7 +290,7 @@ jobs:target: x86_64-pc-windows-msvc,test: true,}- needs: [build-web-for-desktop]+ needs: [build-web]steps:- uses: actions/checkout@v3- name: Setup Node.jsdiff --git a/nx.json b/nx.jsonindex 0b7ff7e48b..024ccb9de1 100644--- a/nx.json+++ b/nx.json@@ -22,10 +22,52 @@},"targetDefaults": {"build": {- "dependsOn": ["^build"]+ "dependsOn": ["^build"],+ "inputs": [+ {+ "runtime": "node -v"+ },+ {+ "env": "ENABLE_BOOKMARK_OPERATION"+ },+ {+ "env": "ENABLE_PLUGIN"+ },+ {+ "env": "ENABLE_ALL_PAGE_FILTER"+ },+ {+ "env": "ENABLE_IMAGE_PREVIEW_MODAL"+ },+ {+ "env": "ENABLE_TEST_PROPERTIES"+ },+ {+ "env": "ENABLE_LEGACY_PROVIDER"+ },+ {+ "env": "ENABLE_BC_PROVIDER"+ },+ {+ "env": "ENABLE_DEBUG_PAGE"+ },+ {+ "env": "CHANGELOG_URL"+ },+ {+ "env": "ENABLE_PRELOADING"+ },+ {+ "env": "API_SERVER_PROFILE"+ }+ ]},"e2e": {- "dependsOn": ["^build"]+ "dependsOn": ["^build"],+ "inputs": [+ { "runtime": "node -v" },+ { "runtime": "yarn playwright --version" }+ ]},"e2e:coverage": {"dependsOn": ["^build"]