Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add frontend linter action (#2458)

boojack642bef03680f
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9735e135d6..027dc51955 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -31,6 +31,24 @@ jobs:
args: -v
skip-cache: true
+ eslint-checks:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: pnpm/[email protected]
+ with:
+ version: 6.10.0
+ - uses: actions/setup-node@v3
+ with:
+ node-version: "14"
+ cache: pnpm
+ cache-dependency-path: "frontend/pnpm-lock.yaml"
+ - run: pnpm install --frozen-lockfile
+ working-directory: frontend
+ - name: Run pnpm lint
+ run: pnpm lint
+ working-directory: frontend
+
# Copied from build-artifacts-and-draft-release.yml, should be consistent if updating build-artifacts-and-draft-release.yml.
release-dry-run-linux:
runs-on: ubuntu-latest
diff --git a/frontend/src/components/OnboardingGuides/CreateDatabaseGuide.vue b/frontend/src/components/OnboardingGuides/CreateDatabaseGuide.vue
index 5d5f1f7673..955cd745b0 100644
--- a/frontend/src/components/OnboardingGuides/CreateDatabaseGuide.vue
+++ b/frontend/src/components/OnboardingGuides/CreateDatabaseGuide.vue
@@ -1,3 +1 @@
-<template>
- <!-- It's a placeholder and will be update in next PR. -->
-</template>
+<template>// eslint-disable-next-line vue/valid-template-root</template>