Skip to content

Commit

Permalink
ci: updated lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 8, 2024
1 parent 2cd665c commit 3a6c58c
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,16 @@ name: Lint

on: [ push, pull_request ]

jobs:
env:
CI: true

jobs:
lint:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 12.x ]

steps:
- uses: actions/checkout@v2
name: Checkout Code
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/setup-node@v1
name: Use Node.js ${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm install

- name: Lint
run: npm run lint

env:
CI: true
- uses: actions/setup-node@v4
- run: npm install
- run: npm run lint

0 comments on commit 3a6c58c

Please sign in to comment.