Skip to content

[LM-10114] fix(pull-request.yml): on pr tag #1

[LM-10114] fix(pull-request.yml): on pr tag

[LM-10114] fix(pull-request.yml): on pr tag #1

Workflow file for this run

name: Lint
on: pull_request
jobs:
run-eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install Node.js dependencies
run: npm i
# ESLint and Prettier must be in `package.json`
- name: ESLint
run: npm run lint
run-prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install Node.js dependencies
run: npm i
- name: Prettier
run: npm run prettier