Skip to content

Commit

Permalink
Add Linting to CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
timendum committed Aug 22, 2024
1 parent 670dca7 commit b272485
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/node-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: NodeJS Linting

on:
# Runs on pushes targeting the default branch
push:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Linting
run: npm run lint

0 comments on commit b272485

Please sign in to comment.