Skip to content

[docs] 添加构建说明 #6

[docs] 添加构建说明

[docs] 添加构建说明 #6

Workflow file for this run

name: Build
on:
push:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Enable Corepack
run: corepack enable
- name: Cache Yarn dependencies
uses: ./.github/actions/cache
with:
os: ${{ runner.os }}
- name: Install dependencies
run: yarn install
- name: Lint JavaScript
# 这里要按顺序执行
run: |
yarn build core &&
yarn build memory &&
yarn build webui