-
-
Notifications
You must be signed in to change notification settings - Fork 30
26 lines (25 loc) · 724 Bytes
/
eslint.yml
File metadata and controls
26 lines (25 loc) · 724 Bytes
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
26
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
name: ESLint
on: pull_request
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- name: install modules
run: npm i
- name: run eslint
run: npx eslint src
- name: build
run: npm run build