Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Lint CI setup (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
celian-rib authored Nov 13, 2022
1 parent 06955d0 commit 3bd84fc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint

on: pull_request

jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions/setup-node@v1
with:
node-version: 16
env:
HUSKY_SKIP_INSTALL: true
- run: npm ci --no-audit --prefer-offline
- uses: tinovyatkin/action-eslint@v1
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
check-name: eslint # this is the check name from above 👆 where to post annotations

0 comments on commit 3bd84fc

Please sign in to comment.