Skip to content

Commit

Permalink
refactor: update lint workflow to use latest actions and improve caching
Browse files Browse the repository at this point in the history
  • Loading branch information
KrinsKumar committed Oct 22, 2024
1 parent 18d5548 commit 2583312
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'

- name: Install dependencies
run: npm install
- name: Install dependencies
run: npm ci

- name: Run linter
run: npm run lint
- name: Run linter
run: npm run lint

0 comments on commit 2583312

Please sign in to comment.