fix: 修复通知指标上报异常问题 #3507
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 | |
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 |