mirror of
https://github.com/longbridge/developers.git
synced 2026-09-19 03:34:09 +08:00
34 lines
601 B
YAML
34 lines
601 B
YAML
name: Build
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "!main"
|
|
- "!canary"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Test
|
|
timeout-minutes: 30
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
cache: yarn
|
|
|
|
- name: install dependency npm
|
|
run: yarn
|
|
|
|
- name: build canary env dist file
|
|
run: |
|
|
yarn build:canary
|