Skip to content

Code formatting setup, code actions and guidleines #20

Code formatting setup, code actions and guidleines

Code formatting setup, code actions and guidleines #20

Workflow file for this run

name: Format Check
on:
push:
branches:
- main
- format_ca
pull_request:
branches:
- main
- format_ca
jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Node.js and pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Format check on react-todo
run: cd packages/react-todo && pnpm install && pnpm run check
- name: Format check on svelte-todo
run: cd packages/svelte-todo && pnpm install && pnpm run check
- name: Format check on vanilla-todo
run: cd packages/vanilla-todo && pnpm install && pnpm run check
- name: Format check on vue-todo
run: cd packages/vue-todo && pnpm install && pnpm run check