Build test for all runtimes

This commit is contained in:
Shivam Meena
2023-06-10 21:02:17 +05:30
parent bac083e92b
commit 5284265a1b
7 changed files with 9 additions and 14542 deletions

View File

@@ -18,6 +18,7 @@ jobs:
with:
version: 8.6.1
- run: pnpm install
- run: pnpm test:build
- run: pnpm build
#- run: pnpm test
- uses: JS-DevTools/npm-publish@v2

File diff suppressed because it is too large Load Diff

View File

@@ -22,8 +22,7 @@
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^3.59.1",
"vite": "^4.3.9",
"url": "^0.11.0",
"//": "url package is required to work on cloudflare workers and pages."
"url": "^0.11.0"
},
"type": "module"
}

File diff suppressed because it is too large Load Diff

View File

@@ -23,8 +23,7 @@
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^3.59.1",
"vite": "^4.3.9",
"url": "^0.11.0",
"//": "url package is required to work on cloudflare workers and pages."
"url": "^0.11.0"
},
"type": "module"
}

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,12 @@
"build": "svelte-kit sync && svelte-package",
"preview": "vite preview",
"prepublishOnly": "echo 'Did you mean to publish `./package/`, instead of `./`?' && exit 1",
"test:build": "pnpm build && pnpm test:vercel:build && pnpm test:netlify:build && pnpm test:pages:build && pnpm test:workers:build && pnpm test:node:build",
"test:vercel:build": "cd examples/vercel-build && pnpm install && pnpm build",
"test:netlify:build": "cd examples/netlify-build && pnpm install && pnpm build",
"test:pages:build": "cd examples/cf-page-build && pnpm install && pnpm build",
"test:workers:build": "cd examples/cf-workers-build && pnpm install && pnpm build",
"test:node:build": "cd examples/node-build && pnpm install && pnpm build",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",