fix: 修改告警策略指标时,如果指标单位变了,没有同步到检测算法的配置中 --bug=134335359 (#4054) #4657
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 |