Fixes the failing dep check in ci

Co-authored-by: Alicia Sykes <1862727+lissy93@users.noreply.github.com>
This commit is contained in:
Alicia SykesandAlicia Sykes committed 2026-10-04 21:47:03 +01:00
1 parent 4938828c81
commit 705db13ced
3 files changed
+6 -8

No files matched your search

+4 -7
View File
@@ -83,15 +83,12 @@ jobs:
deps:
name: 🔒 Dependencies
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/dependency-review-action@v5
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm audit --audit-level=high
- run: npm ls --all
fail-on-severity: high
summarize:
name: 📊 Summary
@@ -117,7 +114,7 @@ jobs:
DEPS: ${{ needs.deps.result }}
run: |
em() { case "$1" in success) echo "✅";; failure) echo "❌";; cancelled|skipped) echo "⏭️";; *) echo "❔";; esac; }
line() { r="$1"; n="$2"; cmd="$3"; s="Passing"; [ "$r" != "success" ] && s="**Failing** - run \`$cmd\`"; echo "- $(em "$r") $n: $s"; }
line() { r="$1"; n="$2"; cmd="$3"; s="Passing"; [ "$r" = "failure" ] && s="**Failing** - run \`$cmd\`"; [ "$r" = "skipped" ] && s="Skipped"; echo "- $(em "$r") $n: $s"; }
{
echo "## Check Summary"
+1 -1
View File
@@ -37,7 +37,7 @@ export default defineConfig({
webServer: {
command: 'npm run build && npm run preview',
port: 4173,
timeout: 120000,
timeout: 300000,
reuseExistingServer: !process.env.CI,
},
});
+1
View File
@@ -6,6 +6,7 @@ export default defineConfig({
environment: 'node',
globals: true,
testTimeout: 30000, // API tests might take longer
retry: process.env.CI ? 2 : 0, // Some endpoints depend on flaky third-party services
hookTimeout: 10000,
teardownTimeout: 10000,
reporters: ['verbose'],