File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,20 @@ jobs:
44
44
45
45
- name : Read PR Number
46
46
id : pr-number
47
- run : echo "number=(cat ./temp/size/number.txt)" >> $GITHUB_OUTPUT
47
+ uses : juliangruber/read-file-action@v1
48
+ with :
49
+ path : temp/size/number.txt
48
50
49
51
- name : Read base branch
50
52
id : pr-base
51
- run : echo "base=(cat ./temp/size/base.txt)" >> $GITHUB_OUTPUT
53
+ uses : juliangruber/read-file-action@v1
54
+ with :
55
+ path : temp/size/base.txt
52
56
53
57
- name : Download Previous Size Data
54
58
uses : dawidd6/action-download-artifact@v6
55
59
with :
56
- branch : ${{ steps.pr-base.outputs.base }}
60
+ branch : ${{ steps.pr-base.outputs.content }}
57
61
workflow : size-data.yml
58
62
event : push
59
63
name : size-data
73
77
uses : actions-cool/maintain-one-comment@v3
74
78
with :
75
79
token : ${{ secrets.GITHUB_TOKEN }}
76
- number : ${{ steps.pr-number.outputs.number }}
80
+ number : ${{ steps.pr-number.outputs.content }}
77
81
body : |
78
82
${{ steps.size-report.outputs.content }}
79
83
<!-- VUE_CORE_SIZE -->
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ async function run() {
31
31
}
32
32
33
33
async function renderFiles ( ) {
34
- const filterFiles = ( files : string [ ] ) => files . filter ( file => file [ 0 ] !== '_' )
34
+ const filterFiles = ( files : string [ ] ) =>
35
+ files . filter ( file => file [ 0 ] !== '_' && ! file . endsWith ( '.txt' ) )
35
36
36
37
const curr = filterFiles ( await readdir ( currDir ) )
37
38
const prev = existsSync ( prevDir ) ? filterFiles ( await readdir ( prevDir ) ) : [ ]
You can’t perform that action at this time.
0 commit comments