From c49fbde0b57471d0464dd232bfd28a8cf0740b27 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 11 Oct 2021 14:21:37 +0800 Subject: [PATCH] workflow: update linter.yml --- .github/workflows/linter.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 351199f2f..144a707df 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -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