|
@@ -16,10 +16,8 @@ name: Lint Code Base
|
|
#############################
|
|
#############################
|
|
on:
|
|
on:
|
|
push:
|
|
push:
|
|
- branches-ignore: main
|
|
|
|
- # Remove the line above to run when pushing to master
|
|
|
|
- pull_request:
|
|
|
|
- branches: main
|
|
|
|
|
|
+ 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
|