mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
ci: reduce unused steps (#1696)
This commit is contained in:
2
.github/actions/setup-node/action.yml
vendored
2
.github/actions/setup-node/action.yml
vendored
@@ -4,7 +4,7 @@ inputs:
|
|||||||
extra-flags:
|
extra-flags:
|
||||||
description: 'Extra flags to pass to the yarn install.'
|
description: 'Extra flags to pass to the yarn install.'
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: '--immutable'
|
||||||
package-install:
|
package-install:
|
||||||
description: 'Run the install step.'
|
description: 'Run the install step.'
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
2
.github/workflows/build-master.yml
vendored
2
.github/workflows/build-master.yml
vendored
@@ -114,8 +114,6 @@ jobs:
|
|||||||
name: artifact
|
name: artifact
|
||||||
path: ./apps/web/.next
|
path: ./apps/web/.next
|
||||||
|
|
||||||
- name: Install playwright browsers
|
|
||||||
run: npx playwright install chromium
|
|
||||||
- name: Run e2e & unit tests
|
- name: Run e2e & unit tests
|
||||||
run: |
|
run: |
|
||||||
yarn test --forbid-only
|
yarn test --forbid-only
|
||||||
|
|||||||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -96,9 +96,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn set version self
|
yarn set version self
|
||||||
git diff --exit-code
|
git diff --exit-code
|
||||||
- run: yarn install
|
|
||||||
- run: yarn lint --max-warnings=0
|
- run: yarn lint --max-warnings=0
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
env:
|
env:
|
||||||
@@ -209,8 +207,6 @@ jobs:
|
|||||||
name: artifact
|
name: artifact
|
||||||
path: ./apps/web/.next
|
path: ./apps/web/.next
|
||||||
|
|
||||||
- name: Install playwright browsers
|
|
||||||
run: npx playwright install chromium
|
|
||||||
- name: Run playwright tests
|
- name: Run playwright tests
|
||||||
run: yarn test --forbid-only --shard=${{ matrix.shard }}/${{ strategy.job-total }}
|
run: yarn test --forbid-only --shard=${{ matrix.shard }}/${{ strategy.job-total }}
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user