Skip to content

Commit

Permalink
Merge branch 'master' into 143-reusable-button
Browse files Browse the repository at this point in the history
  • Loading branch information
zlkaede11 committed Mar 26, 2024
2 parents d9a4ddd + 425ac42 commit b5b4894
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Prettier
on:
pull_request:
push:
branches:
- master
jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Enable corepack
run: corepack enable

- run: sudo yarn
- run: yarn prettier:ci
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

2 changes: 2 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarn lint-all
yarn prettier:ci
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"lint": "eslint",
"lint-all": "eslint .",
"prettier": "prettier . --write",
"prettier:ci": "prettier . --check",
"vsc-setup": "code --install-extension dbaeumer.vscode-eslint && code --install-extension esbenp.prettier-vscode && code install-extension bradlc.vscode-tailwindcss",
"postinstall": "husky",
"lint-and-fix": "eslint . --fix",
Expand Down

0 comments on commit b5b4894

Please sign in to comment.