File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 uses : actions/upload-artifact@v7
5757 with :
5858 name : bundle-metadata-${{ matrix.os }}-${{ matrix.node-version }}
59- path : meta .json
59+ path : build-metadata .json
6060 retention-days : ${{ (github.ref_name == github.event.repository.default_branch && 90) || 7 }}
6161 if-no-files-found : error
6262
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ eslint.sarif
1212# for local incremental compilation
1313tsconfig.tsbuildinfo
1414# esbuild metadata file
15- meta .json
15+ build-metadata .json
Original file line number Diff line number Diff line change @@ -82,6 +82,6 @@ const context = await esbuild.context({
8282} ) ;
8383
8484const result = await context . rebuild ( ) ;
85- await writeFile ( join ( __dirname , "meta .json" ) , JSON . stringify ( result . metafile ) ) ;
85+ await writeFile ( join ( __dirname , "build-metadata .json" ) , JSON . stringify ( result . metafile ) ) ;
8686
8787await context . dispose ( ) ;
Original file line number Diff line number Diff line change @@ -10,12 +10,16 @@ export const PR_CHECKS_DIR = __dirname;
1010export const PR_CHECK_EXCLUDED_FILE = path . join ( PR_CHECKS_DIR , "excluded.yml" ) ;
1111
1212/** The path to the esbuild metadata file. */
13- export const BUNDLE_METADATA_FILE = path . join ( PR_CHECKS_DIR , ".." , "meta.json" ) ;
13+ export const BUNDLE_METADATA_FILE = path . join (
14+ PR_CHECKS_DIR ,
15+ ".." ,
16+ "build-metadata.json" ,
17+ ) ;
1418
1519/** The path of the baseline esbuild metadata file, once extracted from a workflow artifact. */
1620export const BASELINE_BUNDLE_METADATA_FILE = path . join (
1721 PR_CHECKS_DIR ,
18- "meta .json" ,
22+ "build-metadata .json" ,
1923) ;
2024
2125/** The `src` directory. */
You can’t perform that action at this time.
0 commit comments