✨ Support webhook in admin #1472
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
name: Build CI | |
on: | |
push: | |
branches: | |
- main | |
- gh-readonly-queue/main/* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
local-build: | |
name: local-build | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
go: ["1.22"] | |
node: ["20"] | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Setup golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: corepack enable | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "yarn" | |
cache-dependency-path: "web/yarn.lock" | |
- name: Build server | |
run: | | |
cd web | |
yarn install --immutable | |
yarn build | |
cd .. | |
make build |