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: reduce unused steps (#1696)

Himself6566dec34209c3
diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml
index 7ba434a439..d9411955ef 100644
--- a/.github/actions/setup-node/action.yml
+++ b/.github/actions/setup-node/action.yml
@@ -4,7 +4,7 @@ inputs:
extra-flags:
description: 'Extra flags to pass to the yarn install.'
required: false
- default: ''
+ default: '--immutable'
package-install:
description: 'Run the install step.'
required: false
diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml
index f608359cb9..b08bc31749 100644
--- a/.github/workflows/build-master.yml
+++ b/.github/workflows/build-master.yml
@@ -114,8 +114,6 @@ jobs:
name: artifact
path: ./apps/web/.next
- - name: Install playwright browsers
- run: npx playwright install chromium
- name: Run e2e & unit tests
run: |
yarn test --forbid-only
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3d4e9d10f5..e2883d29fc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -96,9 +96,7 @@ jobs:
run: |
yarn set version self
git diff --exit-code
- - run: yarn install
- run: yarn lint --max-warnings=0
-
- name: Build
run: yarn build
env:
@@ -209,8 +207,6 @@ jobs:
name: artifact
path: ./apps/web/.next
- - name: Install playwright browsers
- run: npx playwright install chromium
- name: Run playwright tests
run: yarn test --forbid-only --shard=${{ matrix.shard }}/${{ strategy.job-total }}
env: