Skip to content

revert removing id

revert removing id #22

Workflow file for this run

name: Code Quality Checks and formatting
on:
push:
branches: ["dev/main", "dev/*", "feat/*", "refactor/*", "fix/*", "test/*"]
paths-ignore:
- LICENSE
- README.md
- .gitignore
- ".github/*"
pull_request:
branches: ["dev/main", "dev/*", "feat/*", "refactor/*", "fix/*", "test/*"]
paths-ignore:
- LICENSE
- README.md
- .gitignore
- ".github/*"
workflow_dispatch:
permissions:
contents: write
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm install
- name: Run Eslint
run: npx eslint .
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npx prettier --check .
check-newlines:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set script permissions
run: chmod +x ./scripts/check-newlines.sh
- name: Run check-newlines script
run: ./scripts/check-newlines.sh