Skip to content

Checking formatting & Linting #6

Checking formatting & Linting

Checking formatting & Linting #6

Workflow file for this run

name: Formatting & Linting
run-name: Checking formatting & Linting
on:
pull_request:
branches: [main]
jobs:
Linting-formatting:
runs-on: ubuntu-latest
steps:
- name: Copying the code
uses: actions/checkout@v4
- name: Installing dependencies
run: npm install
with:

Check failure on line 17 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Formatting & Linting

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 17, Col: 9): Unexpected value 'with'
DATABASE_URL: ${{ secrets.DATABASE_URL }}
- name: Fixing the formatting
run: npm run format:fix
- name: Checking the formatting
run: npm run format:check
- name: Linting the code
run: npm run lint