Skip to content

Commit

Permalink
add lint to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amerharb committed Nov 24, 2023
1 parent 69a4ab7 commit 414bcb0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
node-version: [ 18.x ]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn
- run: yarn lint

0 comments on commit 414bcb0

Please sign in to comment.