mirror of
https://github.com/longbridge/developers.git
synced 2026-09-19 03:34:09 +08:00
29 lines
500 B
YAML
29 lines
500 B
YAML
name: Build
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- '!main'
|
|
- '!canary'
|
|
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: 22
|
|
cache: yarn
|
|
|
|
- name: install dependency npm
|
|
run: yarn
|
|
|
|
- name: build canary env dist file
|
|
run: |
|
|
yarn build:canary
|