Skip to content

New

New #8

Workflow file for this run

name: Lint (Old)
on:
pull_request:
types: [opened, reopened, edited, synchronize]
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Run ESLint
run: npx eslint index.js
- name: Run Prettier
run: npx prettier --check index.js