Skip to content

Commit

Permalink
Initial ESLint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuki31 committed Nov 19, 2023
1 parent 27b1fd4 commit 7cd0a87
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on:
push:
pull_request:
branches: [ "master" ]

jobs:
build:
name: Ubuntu / ${{ matrix.node-ver }}
runs-on: ubuntu-latest
env:
NODE_ENV: development
strategy:
matrix:
node-ver: [16.x, 18.x, 20.x, latest]

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js / v${{ matrix.node-ver }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-ver }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Lint the project
run: npm run lint

0 comments on commit 7cd0a87

Please sign in to comment.