|
18 | 18 | CI: true |
19 | 19 |
|
20 | 20 | jobs: |
21 | | - setup-node: # No secrets needed |
| 21 | + setup-node: |
22 | 22 | if: github.event.pull_request.draft != true |
23 | 23 | runs-on: ubuntu-latest |
24 | 24 | timeout-minutes: 10 |
|
44 | 44 | run: pnpm install --frozen-lockfile |
45 | 45 | working-directory: ./dashboard |
46 | 46 |
|
47 | | - lint-js: # No secrets needed |
| 47 | + lint-js: |
48 | 48 | if: github.event.pull_request.draft != true |
49 | 49 | needs: setup-node |
50 | 50 | runs-on: ubuntu-latest |
|
72 | 72 | run: pnpm lint-staged |
73 | 73 | working-directory: ./dashboard |
74 | 74 |
|
75 | | - build-front: # No secrets needed |
| 75 | + build-front: |
76 | 76 | if: github.event.pull_request.draft != true |
77 | 77 | needs: setup-node |
78 | 78 | runs-on: ubuntu-latest |
@@ -104,7 +104,7 @@ jobs: |
104 | 104 | run: pnpm build |
105 | 105 | working-directory: ./dashboard |
106 | 106 |
|
107 | | - lint-and-unit-test-django: # No secrets needed |
| 107 | + lint-and-unit-test-django: |
108 | 108 | if: github.event.pull_request.draft != true |
109 | 109 | runs-on: ubuntu-latest |
110 | 110 | timeout-minutes: 10 |
@@ -138,7 +138,7 @@ jobs: |
138 | 138 | run: poetry run pytest -m unit |
139 | 139 | working-directory: ./backend |
140 | 140 |
|
141 | | - integration-test-django: # Requires secrets |
| 141 | + integration-test-django: |
142 | 142 | if: github.event.pull_request.draft != true |
143 | 143 | runs-on: ubuntu-latest |
144 | 144 | timeout-minutes: 10 |
@@ -198,7 +198,7 @@ jobs: |
198 | 198 | - name: Clean containers |
199 | 199 | run: docker compose down --volumes --remove-orphans && docker system prune -af |
200 | 200 |
|
201 | | - deploy-staging: # Requires secrets |
| 201 | + deploy-staging: |
202 | 202 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
203 | 203 | runs-on: ubuntu-latest |
204 | 204 | environment: dev-staging |
|
0 commit comments