workflow: updat

This commit is contained in:
xiaoxian521 2021-09-19 17:32:47 +08:00
parent c10511b1a0
commit 880dd3cdba

View File

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