File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,37 +83,11 @@ jobs:
8383 - name : 🔍 Run tests
8484 run : pnpm test
8585
86- build :
87- name : 🏗️ Build
88- runs-on : ubuntu-latest
89- needs : [lint, typecheck, test]
90- if : ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' }}
91- steps :
92- - name : ⬇️ Checkout code
93- uses : actions/checkout@v4
94-
95- - name : ⚙️ Install pnpm
96- uses : pnpm/action-setup@v4
97- with :
98- version : ${{ env.PNPM_VERSION }}
99-
100- - name : ⚙️ Setup Node.js
101- uses : actions/setup-node@v4
102- with :
103- node-version : ${{ env.NODE_VERSION }}
104- cache : " pnpm"
105-
106- - name : 🥁 Install dependencies
107- run : pnpm install --frozen-lockfile
108-
109- - name : 🧱 Build application
110- run : pnpm build
111-
11286 deploy :
11387 name : 🚀 Deploy
11488 runs-on : ubuntu-latest
11589 timeout-minutes : 15
116- needs : build
90+ needs : [lint, typecheck, test]
11791 if : ${{ (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main') && github.event_name == 'push' }}
11892
11993 steps :
You can’t perform that action at this time.
0 commit comments