mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-04 07:27:41 +08:00
workflow: update linter.yml
This commit is contained in:
parent
86cde31aaa
commit
c49fbde0b5
8
.github/workflows/linter.yml
vendored
8
.github/workflows/linter.yml
vendored
@ -16,10 +16,8 @@ name: Lint Code Base
|
||||
#############################
|
||||
on:
|
||||
push:
|
||||
branches-ignore: main
|
||||
# Remove the line above to run when pushing to master
|
||||
pull_request:
|
||||
branches: main
|
||||
branches:
|
||||
- main
|
||||
|
||||
###############
|
||||
# Set the Job #
|
||||
@ -48,7 +46,7 @@ jobs:
|
||||
run: |
|
||||
yarn install
|
||||
yarn lint
|
||||
yarn run build
|
||||
yarn build
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
DEFAULT_BRANCH: main
|
||||
|
Loading…
x
Reference in New Issue
Block a user