workflow: update linter.yml

This commit is contained in:
xiaoxian521 2021-10-11 14:21:37 +08:00
parent 86cde31aaa
commit c49fbde0b5

View File

@ -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