Skip to content

Fix error bring thrown by prettier. #17

Fix error bring thrown by prettier.

Fix error bring thrown by prettier. #17

Workflow file for this run

name: Format and Lint
on:
push:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: Check out branch (pull request)
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install packages
run: npm ci
- name: Check Formatting with Prettier
run: npx prettier --check .
- name: Lint with ESLint
run: npx eslint .