2020-11-05 16:00:40 +01:00
|
|
|
---
|
|
|
|
name: Linting
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Run ESLint on user.js
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-23 11:52:24 +02:00
|
|
|
- uses: actions/checkout@v3
|
2020-11-05 16:00:40 +01:00
|
|
|
|
2022-04-23 11:52:24 +02:00
|
|
|
- uses: actions/setup-node@v3
|
2020-11-05 16:00:40 +01:00
|
|
|
|
2024-04-24 23:01:01 +02:00
|
|
|
- run: npm install eslint @eslint/js
|
|
|
|
- run: npx eslint -c .eslint.config.mjs user.js
|