Skip to content

Commit 7fb0fed

Browse files
committed
chore(ci): split {src,script} into individual commands
I think GitHub Actions might not like it.
1 parent 67746c4 commit 7fb0fed

File tree

1 file changed

+4
-2
lines changed
  • packages/@lwc/perf-benchmarks/scripts

1 file changed

+4
-2
lines changed

packages/@lwc/perf-benchmarks/scripts/build.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ function createTachometerJson(htmlFilename, benchmarkName, directoryHash, cpuThr
112112
// We want to recompile whatever benchmarks we've added with the
113113
// compiler code from tip-of-tree, but we also want Tachometer to serve
114114
// `@lwc/perf-benchmarks-components` itself.
115-
'rm -fr ./packages/@lwc/perf-benchmarks-components/{src,scripts}',
116-
`cp -R ${benchmarkComponentsDir}/{src,scripts} ./packages/@lwc/perf-benchmarks-components`,
115+
'rm -fr ./packages/@lwc/perf-benchmarks-components/src',
116+
'rm -fr ./packages/@lwc/perf-benchmarks-components/scripts',
117+
`cp -R ${benchmarkComponentsDir}/src ./packages/@lwc/perf-benchmarks-components`,
118+
`cp -R ${benchmarkComponentsDir}/scripts ./packages/@lwc/perf-benchmarks-components`,
117119
'yarn --frozen-lockfile',
118120
// bust the Tachometer cache in case these files change locally
119121
`echo '${directoryHash}'`,

0 commit comments

Comments
 (0)