Skip to content

Make group approvals conditional based on config #2295

Make group approvals conditional based on config

Make group approvals conditional based on config #2295

Workflow file for this run

name: ci
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
contents: "read"
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup with node and yarn
uses: actions/setup-node@v3
with:
node-version: "16"
cache-dependency-path: "web/yarn.lock"
- name: Set yarn version
run: make web/set-yarn-version
# Workaround: https://github.com/actions/setup-node/issues/531#issuecomment-1819151412
env:
SKIP_YARN_COREPACK_CHECK: true
YARN_IGNORE_NODE: 1
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "^1.18"
- name: Build web
run: make web/build
- name: Run web test
run: make web/test
- name: Build
run: make bin/linux
- name: Run Go test
run: make go/test