22
.github/workflows/lint.yml
vendored
22
.github/workflows/lint.yml
vendored
@@ -43,3 +43,25 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
- name: ESLint
|
- name: ESLint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
|
stylelint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-versions: [12.x]
|
||||||
|
|
||||||
|
name: stylelint node${{ matrix.node-versions }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up node ${{ matrix.node-versions }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-versions: ${{ matrix.node-versions }}
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: npm run stylelint
|
||||||
|
|||||||
Reference in New Issue
Block a user