diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 119d652ae9..70a8477fb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,6 +75,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: unit-${{ matrix.settings.name }}-${{ github.run_attempt }} + include-hidden-files: true if-no-files-found: ignore retention-days: 7 path: packages/*/.artifacts/unit/junit.xml diff --git a/packages/app/package.json b/packages/app/package.json index 62749e209a..ab72a927ad 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -15,7 +15,7 @@ "build": "vite build", "serve": "vite preview", "test": "bun run test:unit", - "test:ci": "bun test --preload ./happydom.ts ./src --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", + "test:ci": "mkdir -p .artifacts/unit && bun test --preload ./happydom.ts ./src --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "test:unit": "bun test --preload ./happydom.ts ./src", "test:unit:watch": "bun test --watch --preload ./happydom.ts ./src", "test:e2e": "playwright test", diff --git a/packages/opencode/package.json b/packages/opencode/package.json index 96c7612e82..b3bced2b52 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -9,7 +9,7 @@ "prepare": "effect-language-service patch || true", "typecheck": "tsgo --noEmit", "test": "bun test --timeout 30000", - "test:ci": "bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", + "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml", "build": "bun run script/build.ts", "upgrade-opentui": "bun run script/upgrade-opentui.ts", "dev": "bun run --conditions=browser ./src/index.ts",