Skip to content

ref(pipedream): group regions into parallel jobs per pipeline #241

ref(pipedream): group regions into parallel jobs per pipeline

ref(pipedream): group regions into parallel jobs per pipeline #241

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
# Get the code
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
# Install dependencies
- name: Install NPM Deps
run: npm install
- name: Install go
uses: actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4
- name: Install Jsonnet
run: |
go install github.com/google/go-jsonnet/cmd/jsonnet@latest
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
go install github.com/google/go-jsonnet/cmd/jsonnet-lint@latest
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- uses: getsentry/action-gocd-jsonnet@2a32414fa9e58a46d1afea9cbfa7b77a928678e2 # v1
with:
jb-install: true
check-for-changes: false
jsonnet-dir: .
generated-dir: ./generated-pipelines
render-jsonnet-files: false