Skip to content

Commit

Permalink
add eslint action
Browse files Browse the repository at this point in the history
  • Loading branch information
OGreeni committed Sep 19, 2023
1 parent 2d5bcd2 commit b4c495a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/eslint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: eslint
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run ESLint
run: eslint . --ext .js,.jsx,.ts,.tsx

0 comments on commit b4c495a

Please sign in to comment.