blob: e7220d4682dcde5ea274c70783f113c439f35768 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
name: ci_eslint
on:
workflow_call:
jobs:
eslint:
runs-on: ubuntu-latest
container:
image: node:18-alpine
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Show installed packages
run: npm ls
- name: Run eslint
run: ./node_modules/.bin/eslint ./
- name: Run stylelint
run: ./node_modules/.bin/stylelint ./**/*.css ./**/*.html ./**/*.js
|