Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-alvi committed Jun 13, 2024
1 parent 419a5bb commit 3d9d574
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
name: JS Linting
name: Linting

on:
push:
branches:
- develop
- trunk
paths:
- '**.js'
pull_request:
branches:
- develop
paths:
- '**.js'

jobs:
eslint:
name: eslint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Setup node and npm cache
- name: Setup node v16 and npm cache
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm

- name: Install Node dependencies
run: npm ci --omit=optional
run: npm ci --no-optional

- name: Get updated JS files
id: changed-files
Expand Down

0 comments on commit 3d9d574

Please sign in to comment.