Skip to content

Commit c0e9d7c

Browse files
authored
chore(testing): Debug yarn pack issue - disable cache (#410)
1 parent 1aa50f9 commit c0e9d7c

File tree

4 files changed

+7
-18
lines changed

4 files changed

+7
-18
lines changed

.github/actions/set-up-test-project/setUpTestProject.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ console.log()
2828
* @returns {Promise<void>}
2929
*/
3030
async function main() {
31-
await setUpTestProject({
32-
canary: true,
33-
})
31+
await setUpTestProject({ canary: true })
3432
}
3533

3634
/**
37-
* *@param {{canary: boolean}} options
35+
* @param {{ canary: boolean }} options
3836
* @returns {Promise<void>}
3937
*/
4038
async function setUpTestProject({ canary }) {

tasks/framework-tools/tarsync/bin.mts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ import { tarsync } from './tarsync.mjs'
88
async function main() {
99
const { projectPath, watch, verbose } = await getOptions()
1010

11-
await tarsync(
12-
{
13-
projectPath,
14-
verbose,
15-
},
16-
'CLI invocation',
17-
)
11+
await tarsync({ projectPath, verbose }, 'CLI invocation')
1812

1913
if (!watch) {
2014
return

tasks/framework-tools/tarsync/lib.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export async function getOptions(): Promise<Options> {
9898
}
9999

100100
export async function buildTarballs() {
101-
await $`yarn nx run-many -t build:pack --exclude create-cedar-app`
101+
await $`yarn nx run-many -t build:pack --exclude create-cedar-app --skipNxCache --skipRemoteCache`
102102
}
103103

104104
export async function moveTarballs(projectPath: string) {

tasks/framework-tools/tarsync/tarsync.mts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ export async function tarsync(
1818
const verboseOutput = verbose || !isTTY
1919
$.verbose = verboseOutput
2020

21-
const outputManager = new OutputManager({
22-
disabled: verboseOutput,
23-
})
24-
outputManager.start({
25-
triggeredBy,
26-
})
21+
const outputManager = new OutputManager({ disabled: verboseOutput })
22+
23+
outputManager.start({ triggeredBy })
2724

2825
cd(FRAMEWORK_PATH)
2926

0 commit comments

Comments
 (0)