Marius Alwan Meyer
71dbf25e22
Some checks failed
Lint / Run linters (push) Failing after 1m32s
This reverts commit cd707eb6c2
.
35 lines
645 B
YAML
35 lines
645 B
YAML
name: Lint
|
|
|
|
on:
|
|
# Trigger the workflow on push or pull request,
|
|
# but only for the main branch
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
run-linters:
|
|
name: Run linters
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install Dependencies
|
|
run: apt update; apt install -y nodejs eslint
|
|
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 14
|
|
|
|
- name: Install Node.js dependencies
|
|
run: npm ci
|
|
|
|
- name: Run eslint
|
|
run: eslint *.js
|