File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ jobs:
104104
105105 - name : Set dynamic limits (base + 0.5KB)
106106 run : node scripts/bundle-size.mjs set-limits --base /tmp/base-sizes.json
107+
108+ - name : Copy .size-limit.json file with limits to tmp directory
109+ run : cp .size-limit.json /tmp/.size-limit-with-limits.json
107110
108111 # 4. Run the action with dynamic limits
109112 - name : Check bundle size
Original file line number Diff line number Diff line change 7676 "start" : " nps" ,
7777 "nps" : " nps" ,
7878 "build" : " pnpm --filter react-on-rails run build && pnpm --filter react-on-rails-pro run build && pnpm --filter react-on-rails-pro-node-renderer run build" ,
79- "build-for-size-limit" : " cp /tmp/size-limit-config .json .size-limit.json && pnpm build" ,
79+ "build-for-size-limit" : " cp /tmp/. size-limit-with-limits .json .size-limit.json && pnpm build" ,
8080 "build-watch" : " pnpm -r run build-watch" ,
8181 "lint" : " nps eslint" ,
8282 "lint:scss" : " stylelint \" react_on_rails/spec/dummy/app/assets/stylesheets/**/*.scss\" \" react_on_rails/spec/dummy/client/**/*.scss\" " ,
You can’t perform that action at this time.
0 commit comments