Skip to content

Commit a165593

Browse files
committed
chore: wip
1 parent 1662623 commit a165593

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,8 @@ jobs:
116116

117117
deploy-prod:
118118
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
119-
119+
needs: [lint, typecheck, test]
120120
runs-on: ubuntu-latest
121-
122121
environment: production
123122

124123
steps:
@@ -141,9 +140,8 @@ jobs:
141140

142141
deploy-stage:
143142
if: (github.ref == 'refs/heads/main' && github.event_name == 'push') || (startsWith(github.ref, 'refs/tags/') && contains(github.ref, '-beta.'))
144-
143+
needs: [lint, typecheck, test]
145144
runs-on: ubuntu-latest
146-
147145
environment: staging
148146

149147
steps:
@@ -166,9 +164,8 @@ jobs:
166164

167165
deploy-dev:
168166
if: (github.ref == 'refs/heads/main' && github.event_name == 'push') || (github.event_name == 'pull_request' && github.base_ref == 'main')
169-
167+
needs: [lint, typecheck, test]
170168
runs-on: ubuntu-latest
171-
172169
environment: development
173170

174171
steps:

0 commit comments

Comments
 (0)