Skip to content

Commit 0cb6bf7

Browse files
committed
fix: remove redundant build job from deployment workflow
1 parent ee883df commit 0cb6bf7

1 file changed

Lines changed: 1 addition & 27 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)