Skip to content

maybe this works

maybe this works #5

Workflow file for this run

name: Linting and Formatting Check
on:
push:
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install dependencies
run: npm install prettier
run: npm install eslint

Check failure on line 21 in .github/workflows/linting.yml

View workflow run for this annotation

GitHub Actions / Linting and Formatting Check

Invalid workflow file

The workflow is not valid. .github/workflows/linting.yml (Line: 21, Col: 9): 'run' is already defined
- name: Prettier Check
run: npx prettier . --check
- name: ESLint Check
run: npm run lint