feat(front-end): 告警策略过滤 & 逻辑优化 (#2560) #2668
This file contains hidden or 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: dashboard-front ci | |
| on: | |
| push: | |
| branches: [ master, pre_*, ft_*, release/* ] | |
| paths: ['src/dashboard-front/**'] | |
| pull_request: | |
| branches: [ master, pre_*, ft_*, release/* ] | |
| paths: ['src/dashboard-front/**'] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| cache-dependency-path: 'src/dashboard-front/package.json' | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Install dependencies | |
| run: npm i --force | |
| working-directory: src/dashboard-front | |
| - name: ESLint | |
| run: npx eslint --ext .js,.vue . | |
| working-directory: src/dashboard-front |