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 ## ## Super Linter GitHub Actions ##
################################# #################################
################################# #################################
name: Lint Code name: Lint Code Base
# #
# Documentation: # Documentation:
@ -27,7 +27,7 @@ on:
jobs: jobs:
build: build:
# Name the Job # Name the Job
name: Lint Code name: Lint Code Base
# Set the agent to run on # Set the agent to run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -36,10 +36,14 @@ jobs:
################## ##################
steps: 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: | run: |
yarn install npm run install
yarn lint npm run lint
yarn run build npm run build