mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
add eslint
This commit is contained in:
parent
4d7d0ceb7c
commit
bfb10086eb
28
.github/workflows/main.yml
vendored
Normal file
28
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
name: CI/CD
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
codestyle-tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: "!contains(github.event.head_commit.message, 'NO_CI')"
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
- name: Checkout Build Repository
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
ref: develop
|
||||||
|
repository: Karaka/Build
|
||||||
|
path: Build
|
||||||
|
- name: Install NPM
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '14'
|
||||||
|
cache: 'npm'
|
||||||
|
- run: npm install
|
||||||
|
- name: eslint
|
||||||
|
run: npx eslint ./ -c Build/Config/.eslintrc.json
|
||||||
Loading…
Reference in New Issue
Block a user