Skip to content

Added prettier, lint-staged and husky. #5

Added prettier, lint-staged and husky.

Added prettier, lint-staged and husky. #5

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0 OR MIT
#
## SPDX-FileCopyrightText: 2023 Tristan Partin <tristan@partin.io>
name: Prettier
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- README.md
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
yarn install --immutable --immutable-cache --check-cache
- name: Check
run: |
yarn run prettier:check