1 parent 606f70b commit 16ad590Copy full SHA for 16ad590
2 files changed
.github/workflows/ci.yml
@@ -22,5 +22,11 @@ jobs:
22
- name: 📦 Install dependencies
23
run: bun install
24
25
+ - name: 🔍 Run ESLint
26
+ run: bun run lint
27
+
28
+ - name: 🔍 Run TypeScript check
29
+ run: bun run type-check
30
31
- name: 🛠️ Build project
32
run: bun run build
.github/workflows/deploy.yml
@@ -1,8 +1,9 @@
1
name: Deploy Vue to GitHub Pages
2
3
on:
4
- push:
5
- branches: ['main']
+ workflow_run:
+ workflows: [CI]
6
+ types: [completed]
7
workflow_dispatch:
8
9
permissions:
@@ -17,6 +18,9 @@ concurrency:
17
18
jobs:
19
build:
20
runs-on: ubuntu-latest
21
+ if: >
+ github.event.workflow_run.conclusion == 'success'
+ && github.event.workflow_run.head_branch == 'main'
steps:
- name: 🛎️ Checkout code
uses: actions/checkout@v4
0 commit comments