GeezerVison is showing github.com — ci: add friendly job names · SnoopyMod/snoopymod-www@3870979
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/ci-cd.yml +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
23 | 23 |
|
24 | 24 | jobs: |
25 | 25 | set-environment: # this job just a trick to DRY the environment logic |
| 26 | + name: Set Environment |
26 | 27 | runs-on: ubuntu-latest |
27 | 28 | env: |
28 | 29 | GH_ENVIRONMENT: >- |
|
49 | 50 | environment: ${{ env.GH_ENVIRONMENT }} |
50 | 51 | should_deploy: ${{ (env.GH_ENVIRONMENT || '') != '' }} |
51 | 52 | build: |
| 53 | + name: Build and Unit Tests |
52 | 54 | runs-on: ubuntu-latest |
53 | 55 | needs: set-environment |
54 | 56 | environment: ${{ needs.set-environment.outputs.environment }} |
@@ -124,6 +126,7 @@ jobs: |
124 | 126 | path: node_modules |
125 | 127 | key: ${{ runner.os }}-node_modules-${{ hashFiles('.nvmrc', 'package-lock.json') }} |
126 | 128 | deploy: |
| 129 | + name: Deploy |
127 | 130 | runs-on: ubuntu-latest |
128 | 131 | needs: [set-environment, build] |
129 | 132 | environment: ${{ needs.set-environment.outputs.environment }} |
@@ -174,6 +177,7 @@ jobs: |
174 | 177 | SLACK_WEBHOOK_MODS: ${{ secrets.SLACK_WEBHOOK_MODS }} |
175 | 178 | RADISH_URL: ${{ vars.RADISH_URL }} |
176 | 179 | integration-tests: |
| 180 | + name: Production Integration Tests |
177 | 181 | runs-on: ubuntu-latest |
178 | 182 | needs: [set-environment, deploy] |
179 | 183 | environment: ${{ needs.set-environment.outputs.environment }} |
|