|
@@ -4,7 +4,7 @@
|
|
|
## Super Linter GitHub Actions ##
|
|
|
#################################
|
|
|
#################################
|
|
|
-name: Lint Code
|
|
|
+name: Lint Code Base
|
|
|
|
|
|
#
|
|
|
# Documentation:
|
|
@@ -27,7 +27,7 @@ on:
|
|
|
jobs:
|
|
|
build:
|
|
|
# Name the Job
|
|
|
- name: Lint Code
|
|
|
+ name: Lint Code Base
|
|
|
# Set the agent to run on
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
@@ -36,10 +36,14 @@ jobs:
|
|
|
##################
|
|
|
steps:
|
|
|
##########################
|
|
|
- # Checkout the code #
|
|
|
+ # Checkout the code base #
|
|
|
##########################
|
|
|
- - name: Lint
|
|
|
+ - name: Build
|
|
|
+ env:
|
|
|
+ VALIDATE_ALL_CODEBASE: false
|
|
|
+ DEFAULT_BRANCH: main
|
|
|
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
run: |
|
|
|
- yarn install
|
|
|
- yarn lint
|
|
|
- yarn run build
|
|
|
+ npm run install
|
|
|
+ npm run lint
|
|
|
+ npm run build
|