Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix: ci

origranotbe04ac2ff2b2
diff --git a/.github/workflows/build-chartdb.yaml b/.github/workflows/build-chartdb.yaml
deleted file mode 100644
index d3d1d968..00000000
--- a/.github/workflows/build-chartdb.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-name: build-chartdb
-
-on:
- push:
- branches: [main]
- pull_request:
- branches: [main]
-
-jobs:
- build:
- runs-on: ubuntu-latest
- env:
- working-directory: ./
- permissions: write-all
-
- steps:
- - uses: actions/checkout@v3
- - name: Use Node.js 22.x
- uses: actions/setup-node@v4
- with:
- node-version: 22.x
- cache: 'npm'
- cache-dependency-path: './package-lock.json'
- - name: Install
- run: npm ci
- - name: Build chartdb
- run: npm run build
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 00000000..384b4ad2
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,27 @@
+name: CI
+
+on:
+ pull_request:
+ branches: [main]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Use Node.js 22.x
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22.x
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Lint
+ run: npm run lint
+
+ - name: Build
+ run: npm run build
\ No newline at end of file
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..340c9844
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1 @@
+**/*.yaml
\ No newline at end of file