Skip to content

Commit

Permalink
feat: add cache and move lint to another job
Browse files Browse the repository at this point in the history
  • Loading branch information
markonikolas committed Sep 16, 2024
1 parent 2420392 commit ecc56ba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install modules
run: yarn
- name: Run ESLint
run: npm run lint
lint:
- name: Run ESLint
run: npm run lint

0 comments on commit ecc56ba

Please sign in to comment.