aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGravatar Corentin THOMASSET <corentin.thomasset74@gmail.com> 2023-09-03 16:28:19 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-03 14:28:19 +0000
commit18dd1400bdc14287c7e5f40808e374163618b9fd (patch)
tree5073c78e62f9cf5361c01a26b4903e8afe9902fe /package.json
parentf035f485c03209b2bb9710e9e81c8f8a3d632ae0 (diff)
downloadit-tools-18dd1400bdc14287c7e5f40808e374163618b9fd.tar.gz
it-tools-18dd1400bdc14287c7e5f40808e374163618b9fd.tar.zst
it-tools-18dd1400bdc14287c7e5f40808e374163618b9fd.zip
refactor(CI): run e2e against built app and no longer vercel (#610)
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index a835df0..977e31e 100644
--- a/package.json
+++ b/package.json
@@ -21,11 +21,12 @@
},
"scripts": {
"dev": "vite",
- "build": "vue-tsc --noEmit && vite build",
+ "build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vite build",
"preview": "vite preview --port 5050",
"test": "npm run test:unit",
"test:unit": "vitest --environment jsdom",
"test:e2e": "playwright test",
+ "test:e2e:dev": "BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
"coverage": "vitest run --coverage",
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",