Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

🚨 Fixes CI failure from unused imports, resolves deepscan checks

Alicia Sykes70f0ed1e1319
diff --git a/.github/workflows/dependency-updates-summary.yml b/.github/workflows/dependency-updates-summary.yml
index a9c41303..e05359a9 100644
--- a/.github/workflows/dependency-updates-summary.yml
+++ b/.github/workflows/dependency-updates-summary.yml
@@ -1,7 +1,10 @@
# Shows changes to any yarn.lock in PR comment
# Useful for easily understanding dependency changes and consequences
name: πŸ’‘ Show Dependency Changes
-on: [pull_request]
+on:
+ pull_request:
+ paths:
+ - 'yarn.lock'
jobs:
check:
runs-on: ubuntu-latest
@@ -15,3 +18,4 @@ jobs:
collapsibleThreshold: '25'
failOnDowngrade: 'false'
path: 'yarn.lock'
+ updateComment: 'true'
diff --git a/tests/unit/config-validator.test.js b/tests/unit/config-validator.test.js
index 75fdf21a..f12a95af 100644
--- a/tests/unit/config-validator.test.js
+++ b/tests/unit/config-validator.test.js
@@ -1,7 +1,6 @@
import {
- describe, it, expect, beforeEach, vi,
+ describe, it, expect, beforeEach,
} from 'vitest';
-import fs from 'fs';
import path from 'path';
describe('Config Validator', () => {
@@ -12,7 +11,6 @@ describe('Config Validator', () => {
});
it('validates a correct config file', () => {
- const yaml = require('js-yaml');
const Ajv = require('ajv');
const schema = require('../../src/utils/ConfigSchema.json');