optimization: 独立子任务创建是添加由父任务触发的操作记录 #5469
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
# This is a basic workflow to help you get started with Actions | |
name: frontend code eslint | |
on: | |
push: | |
branches: [ master, develop, release*, feature* ] | |
pull_request: | |
branches: [ master, develop, release*, feature* ] | |
jobs: | |
eslint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12' | |
- name: Install dependencies | |
run: | | |
cd frontend/desktop/ | |
npm install | |
- name: Run Eslint | |
run: | | |
cd frontend/desktop/ | |
npx eslint --ext .js,.vue src/ |