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