mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-26 12:02:19 +00:00
39 lines
867 B
YAML
39 lines
867 B
YAML
name: build-pipeline
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- develop
|
|
- main
|
|
- release/v*
|
|
|
|
jobs:
|
|
build-frontend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: cd frontend && yarn install
|
|
- name: Run ESLint
|
|
run: cd frontend && npm run lint
|
|
- name: Run Jest
|
|
run: cd frontend && npm run jest
|
|
- name: TSC
|
|
run: yarn tsc
|
|
working-directory: ./frontend
|
|
- name: Build frontend docker image
|
|
shell: bash
|
|
run: |
|
|
make build-frontend-amd64
|
|
|
|
build-query-service:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Build query-service image
|
|
shell: bash
|
|
run: |
|
|
make build-query-service-amd64
|