Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: husky 제거 github action ci 추가 #187

Merged
merged 4 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on: [push]

jobs:
build:
name: CI
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ["16"]

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install yarn
run: npm install -g yarn

- name: Install the project dependencies
run: yarn install

- name: Prettier check
run: yarn prettier

- name: Lint check
run: yarn lint

- name: Stylelint check
run: yarn lint:css

- name: Type check
run: yarn type-check
6 changes: 0 additions & 6 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/prepare-commit-msg

This file was deleted.

744 changes: 0 additions & 744 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/q-npm-1.5.1-a28b3cfeaf-147baa93c8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/yn-npm-3.1.1-8ad4259784-2c487b0e14.zip
Binary file not shown.
26 changes: 0 additions & 26 deletions commitlint.config.js

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint",
"lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
"prettier": "prettier --write **/*.{ts,tsx}",
"postinstall": "husky install",
"type-check": "tsc --noEmit",
"storybook": "storybook dev -p 6006 -s ./public",
"build-storybook": "storybook build -s ./public",
"test-storybook": "test-storybook",
Expand Down Expand Up @@ -50,8 +50,6 @@
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@babel/runtime": "^7.20.7",
"@commitlint/cli": "^17.4.0",
"@commitlint/config-conventional": "^17.4.0",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^7.0.0-beta.19",
"@storybook/addon-docs": "^7.0.0-beta.19",
Expand All @@ -76,7 +74,6 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-storybook": "^0.6.8",
"husky": "^8.0.3",
"jest-playwright-preset": "^3.0.1",
"jest-serializer-html": "^7.1.0",
"playwright": "^1.34.3",
Expand Down
Loading
Loading