Skip to content

Commit

Permalink
add lint job to test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Nov 18, 2024
1 parent 17390a0 commit 4e8a62f
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ on:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "npm"

- name: Install dependencies
run: npm install

- name: Run lint
run: npm run lint

test:
strategy:
fail-fast: false
Expand All @@ -31,10 +49,10 @@ jobs:
cache: "npm"

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

- name: Build
run: npm run build

- name: Run tests
run: npm test
run: npm test

0 comments on commit 4e8a62f

Please sign in to comment.