Merge pull request 'fix: resolve npm audit vulnerabilities (CAR-937)' (#11) from betty/car-935-fix-setup-node into dev
CI / lint (push) Successful in 1m2s
CI / test (push) Successful in 1m3s
CI / audit (push) Successful in 1m14s
CI / deploy-dev (pull_request) Has been skipped
CI / lighthouse (push) Failing after 50s
CI / deploy-dev (push) Failing after 38s
CI / deploy-uat (pull_request) Has been skipped
CI / lighthouse (pull_request) Failing after 47s
CI / lint (pull_request) Successful in 14s
CI / test (pull_request) Successful in 13s
CI / audit (pull_request) Successful in 11s
CI / e2e (pull_request) Successful in 41s
CI / build-and-push (pull_request) Has been skipped
CI / build-and-push (push) Failing after 2m4s
CI / e2e (push) Successful in 1m48s
CI / deploy-uat (push) Has been skipped
CI / lint (push) Successful in 1m2s
CI / test (push) Successful in 1m3s
CI / audit (push) Successful in 1m14s
CI / deploy-dev (pull_request) Has been skipped
CI / lighthouse (push) Failing after 50s
CI / deploy-dev (push) Failing after 38s
CI / deploy-uat (pull_request) Has been skipped
CI / lighthouse (pull_request) Failing after 47s
CI / lint (pull_request) Successful in 14s
CI / test (pull_request) Successful in 13s
CI / audit (pull_request) Successful in 11s
CI / e2e (pull_request) Successful in 41s
CI / build-and-push (pull_request) Has been skipped
CI / build-and-push (push) Failing after 2m4s
CI / e2e (push) Successful in 1m48s
CI / deploy-uat (push) Has been skipped
fix: resolve npm audit vulnerabilities (CAR-937) Fixes npm audit high-severity vulnerabilities.
This commit was merged in pull request #11.
This commit is contained in:
+11
-2
@@ -87,8 +87,17 @@ jobs:
|
||||
npx playwright install --with-deps chromium
|
||||
- name: Start preview server
|
||||
run: |
|
||||
npm run preview &
|
||||
npx wait-on http://localhost:4173/ --timeout 30000
|
||||
npm run preview -- --port 4173 &
|
||||
for i in $(seq 1 30); do
|
||||
if curl -s http://localhost:4173/ > /dev/null 2>&1; then
|
||||
echo "Server ready on http://localhost:4173/"
|
||||
exit 0
|
||||
fi
|
||||
echo "Waiting for server... ($i/30)"
|
||||
sleep 2
|
||||
done
|
||||
echo "Server failed to start"
|
||||
exit 1
|
||||
- name: Run Lighthouse CI
|
||||
run: |
|
||||
CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1)
|
||||
|
||||
Generated
+881
-921
File diff suppressed because it is too large
Load Diff
+3
-1
@@ -48,10 +48,12 @@
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
"overrides": {
|
||||
"@babel/plugin-transform-modules-systemjs": ">=7.29.4",
|
||||
"@rollup/pluginutils": "5.3.0",
|
||||
"brace-expansion": ">=1.1.15",
|
||||
"fast-uri": ">=3.1.2",
|
||||
"flatted": "^3.4.2",
|
||||
"serialize-javascript": "7.0.5",
|
||||
"brace-expansion": ">=1.1.13",
|
||||
"lodash": ">=4.17.24",
|
||||
"minimatch": "^10.2.4"
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export function VerifyEmail() {
|
||||
const callbackURL = searchParams.get("callbackURL") || "/";
|
||||
|
||||
if (!token) {
|
||||
setStatus("error");
|
||||
queueMicrotask(() => setStatus("error"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user