完成部分记忆模块 #7
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 | |
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 | |