mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 04:21:32 +00:00
Update test workflow to check for main/index.cjs instead of main/index.js
- Modified the file existence check in the GitHub Actions workflow to validate the presence of main/index.cjs, reflecting recent changes in the build output structure.
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -64,6 +64,6 @@ jobs:
|
|||||||
test -d "out/client" || (echo "❌ Missing client directory" && exit 1)
|
test -d "out/client" || (echo "❌ Missing client directory" && exit 1)
|
||||||
test -f "out/server/index.js" || (echo "❌ Missing server/index.js" && exit 1)
|
test -f "out/server/index.js" || (echo "❌ Missing server/index.js" && exit 1)
|
||||||
test -f "out/server/manifest.js" || (echo "❌ Missing server/manifest.js" && exit 1)
|
test -f "out/server/manifest.js" || (echo "❌ Missing server/manifest.js" && exit 1)
|
||||||
test -f "out/main/index.js" || (echo "❌ Missing main/index.js" && exit 1)
|
test -f "out/main/index.cjs" || (echo "❌ Missing main/index.js" && exit 1)
|
||||||
test -f "out/preload/index.js" || (echo "❌ Missing preload/index.js" && exit 1)
|
test -f "out/preload/index.js" || (echo "❌ Missing preload/index.js" && exit 1)
|
||||||
echo "✅ All required build files exist"
|
echo "✅ All required build files exist"
|
||||||
Reference in New Issue
Block a user