Skip to content

ci: fix prettier step #2

ci: fix prettier step

ci: fix prettier step #2

Workflow file for this run

name: Linting and formatting
on: [push, pull_request]
jobs:
lint-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Linting
run: npm run lint
- name: Formatting
run: npx prettier --ignore-unknown --check .