Skip to content

Commit

Permalink
chore(): do size check for current repo only
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Jan 13, 2025
1 parent 4360b0e commit 05b32e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,22 +206,6 @@ jobs:
name: brick-artifacts
path: ci-bricks

- name: Download artifact from next-advanced-bricks
id: download-artifact-from-next-advanced-bricks
uses: dawidd6/action-download-artifact@v7
with:
name: brick-artifacts
path: ci-advanced-bricks
github_token: ${{ secrets.GITHUB_TOKEN }}
repo: easyops-cn/next-advanced-bricks
branch: master
event: push
workflow: ci.yml
workflow_conclusion: ""

- name: Merge bricks
run: cp -r ci-advanced-bricks/* ci-bricks/bricks/

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
3 changes: 2 additions & 1 deletion size-check.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/** @type {import("@next-core/brick-container").DevConfig} */
export default {
brickFolders: [
"ci-bricks/bricks"
"node_modules/@next-bricks",
"ci-bricks/bricks",
],
sizeCheckFilter(brick, pkgId) {
return (
Expand Down

0 comments on commit 05b32e0

Please sign in to comment.