forked from spacebar/SplatNet
remove package.json dependency
thats what i get for copy pasting code from the internet
This commit is contained in:
parent
a4051361e5
commit
5a4d003c5b
1 changed files with 10 additions and 14 deletions
|
|
@ -8,32 +8,28 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
lint-debian:
|
lint-debian:
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
container:
|
|
||||||
image: node:20-bookworm
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install
|
- name: Install Linters
|
||||||
run: npm install
|
run: npm install -g htmlhint stylelint stylelint-config-standard eslint
|
||||||
- name: HTML
|
- name: HTML
|
||||||
run: npx htmlhint "**/*.html"
|
run: htmlhint "**/*.html"
|
||||||
- name: CSS
|
- name: CSS
|
||||||
run: npx stylelint "**/*.css"
|
run: stylelint "**/*.css" --config-basedir /usr/local/lib/node_modules
|
||||||
- name: JS
|
- name: JS
|
||||||
run: npx eslint .
|
run: "npx eslint . --no-eslintrc --rule 'semi: [2, always]' --rule 'no-console: 0'"
|
||||||
|
|
||||||
lint-ubuntu:
|
lint-ubuntu:
|
||||||
needs: lint-debian
|
needs: lint-debian
|
||||||
if: failure()
|
if: failure()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: node:20-bookworm
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install
|
- name: Install Linters
|
||||||
run: npm install
|
run: npm install -g htmlhint stylelint stylelint-config-standard eslint
|
||||||
- name: HTML
|
- name: HTML
|
||||||
run: npx htmlhint "**/*.html"
|
run: htmlhint "**/*.html"
|
||||||
- name: CSS
|
- name: CSS
|
||||||
run: npx stylelint "**/*.css"
|
run: stylelint "**/*.css" --config-basedir /usr/local/lib/node_modules
|
||||||
- name: JS
|
- name: JS
|
||||||
run: npx eslint .
|
run: "npx eslint . --no-eslintrc --rule 'semi: [2, always]' --rule 'no-console: 0'"
|
||||||
Loading…
Reference in a new issue