feat: 【日志平台】po环境外部授权增加批量授权能力 --story=120050745 #3704
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 |