fix: 修复切换保存导致的递归引用问题 #4648
Workflow file for this run
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: "[BKLog] Web" | |
defaults: | |
run: | |
working-directory: bklog | |
on: | |
push: | |
paths: | |
- 'bklog/web/**' | |
pull_request: | |
paths: | |
- 'bklog/web/**' | |
schedule: | |
- cron: "0 10 * * *" | |
# https://github.com/actions/checkout/issues/1590 | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
jobs: | |
run: | |
# runs-on: ubuntu-20.04 | |
runs-on: self-hosted | |
env: | |
OS: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 18.18.0 | |
- name: Run build web | |
run: | | |
cd web | |
npm install --legacy-peer-deps | |
npm run build |