Last active
July 20, 2022 20:13
-
-
Save kminehart/660ce485c850ff0a3daaf9747075ef26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipelines: | |
- name: build-go | |
when: | |
- event: pull_request | |
- event: commit | |
branch: main | |
steps: | |
- name: install | |
run: go mod download | |
image: golang:1.18 | |
- name: test | |
run: go test ./... | |
image: golang:1.18 | |
after: install | |
# omitted for brevity... | |
- name: build-go | |
when: | |
- event: pull_request | |
- event: commit | |
branch: main | |
steps: | |
- name: install | |
run: yarn | |
image: node:18 | |
- name: test | |
# 1000 lines later ... | |
- name: upload-frontend | |
run: make upload-frontend | |
image: node:18 | |
after: build-frontend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment