Skip to content

Commit 05b32e0

Browse files
committed
chore(): do size check for current repo only
1 parent 4360b0e commit 05b32e0

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -206,22 +206,6 @@ jobs:
206206
name: brick-artifacts
207207
path: ci-bricks
208208

209-
- name: Download artifact from next-advanced-bricks
210-
id: download-artifact-from-next-advanced-bricks
211-
uses: dawidd6/action-download-artifact@v7
212-
with:
213-
name: brick-artifacts
214-
path: ci-advanced-bricks
215-
github_token: ${{ secrets.GITHUB_TOKEN }}
216-
repo: easyops-cn/next-advanced-bricks
217-
branch: master
218-
event: push
219-
workflow: ci.yml
220-
workflow_conclusion: ""
221-
222-
- name: Merge bricks
223-
run: cp -r ci-advanced-bricks/* ci-bricks/bricks/
224-
225209
- name: Get yarn cache directory path
226210
id: yarn-cache-dir-path
227211
run: echo "::set-output name=dir::$(yarn cache dir)"

size-check.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/** @type {import("@next-core/brick-container").DevConfig} */
22
export default {
33
brickFolders: [
4-
"ci-bricks/bricks"
4+
"node_modules/@next-bricks",
5+
"ci-bricks/bricks",
56
],
67
sizeCheckFilter(brick, pkgId) {
78
return (

0 commit comments

Comments
 (0)