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
|
|
|
|
|
|
|
- run: npm install -g eslint
|
|
|
|
- run: eslint user.js
|