mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 16:37:18 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore: main
|
branches:
|
||||||
# Remove the line above to run when pushing to master
|
- main
|
||||||
pull_request:
|
|
||||||
branches: main
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Set the Job #
|
# Set the Job #
|
||||||
@ -48,7 +46,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
yarn lint
|
yarn lint
|
||||||
yarn run build
|
yarn build
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user