Skip to content

Merge pull request #244 from ynshung/dependabot/npm_and_yarn/vite-2.9.18 #135

Merge pull request #244 from ynshung/dependabot/npm_and_yarn/vite-2.9.18

Merge pull request #244 from ynshung/dependabot/npm_and_yarn/vite-2.9.18 #135

Workflow file for this run

name: Run ESLint
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- "*"
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm ci
- name: Run ESLint
run: npm run lint