Skip to content

Merge branch 'master' of https://github.com/ynshung/better-yt-shorts #137

Merge branch 'master' of https://github.com/ynshung/better-yt-shorts

Merge branch 'master' of https://github.com/ynshung/better-yt-shorts #137

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