mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
Update main.yml
This commit is contained in:
parent
4c9010d030
commit
f1781f1c84
38
.github/workflows/main.yml
vendored
38
.github/workflows/main.yml
vendored
|
|
@ -26,22 +26,22 @@ jobs:
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- name: eslint
|
- name: eslint
|
||||||
run: npx eslint ./ -c Build/Config/.eslintrc.json
|
run: npx eslint ./ -c Build/Config/.eslintrc.json
|
||||||
linting:
|
# linting:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
if: "!contains(github.event.head_commit.message, 'NO_CI')"
|
# if: "!contains(github.event.head_commit.message, 'NO_CI')"
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
max-parallel: 3
|
# max-parallel: 3
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout Repository
|
# - name: Checkout Repository
|
||||||
uses: actions/checkout@main
|
# uses: actions/checkout@main
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
submodules: recursive
|
# submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
# token: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Lint Code Base
|
# - name: Lint Code Base
|
||||||
uses: github/super-linter/slim@v4
|
# uses: github/super-linter/slim@v4
|
||||||
env:
|
# env:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
# VALIDATE_ALL_CODEBASE: false
|
||||||
DEFAULT_BRANCH: develop
|
# DEFAULT_BRANCH: develop
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user