mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
workflow: updat
This commit is contained in:
parent
c10511b1a0
commit
880dd3cdba
18
.github/workflows/linter.yml
vendored
18
.github/workflows/linter.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user