File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -134,18 +134,20 @@ jobs:
134
134
- run : PUPPETEER_SKIP_DOWNLOAD=1 pnpm install
135
135
- run : pnpm run size
136
136
137
+ - uses : actions/upload-artifact@v3
138
+ with :
139
+ name : size-report
140
+ path : temp/size
141
+
137
142
- name : Download artifact
138
143
id : download-artifact
139
144
uses : dawidd6/action-download-artifact@v2
140
145
continue-on-error : true
141
146
with :
142
- workflow_conclusion : success
143
147
pr : ${{github.event.pull_request.number}}
144
148
# branch: main
145
149
name : size-report
146
150
147
- - uses : actions/upload-artifact@v3
151
+ - name : test
152
+ run : echo "hello"
148
153
if : ${{ success() }}
149
- with :
150
- name : size-report
151
- path : temp/size
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ async function checkFileSize(filePath) {
175
175
await fs . writeFile (
176
176
path . resolve ( sizeDir , `${ fileName } .json` ) ,
177
177
JSON . stringify ( {
178
- file : filePath ,
178
+ file : fileName ,
179
179
size : file . length ,
180
180
gzip : gzipped . length ,
181
181
brotli : brotli . length
You can’t perform that action at this time.
0 commit comments