Skip to content

ci: added linter of the formatting with prettier (#19) #3

ci: added linter of the formatting with prettier (#19)

ci: added linter of the formatting with prettier (#19) #3

Workflow file for this run

name: Prettier Check
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "latest"
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npm run prettier:check