Skip to content

Commit

Permalink
💚 Pull Requestの確認をするWorkflowに型チェックを追加 (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
3w36zj6 authored Dec 12, 2023
1 parent d01ffa5 commit 94b5b27
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/check-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,19 @@ jobs:

- name: Check build
run: bun run build
check-type:
name: Check type
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.16

- name: Install dependencies
run: bun install

- name: Check type
run: bun run check-type
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"format": "prettier --write './**/*.{js,ts,json,yaml,yml,md,html,css,scss}' --ignore-path '.gitignore'",
"format:check": "prettier --check './**/*.{js,ts,json,yaml,yml,md,html,css,scss}' --ignore-path '.gitignore'",
"lint": "eslint './src/**/*.ts' --ignore-path '.gitignore'",
"lint:fix": "eslint --fix './src/**/*.ts' --ignore-path '.gitignore'"
"lint:fix": "eslint --fix './src/**/*.ts' --ignore-path '.gitignore'",
"check-type": "tsc --noEmit"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 94b5b27

Please sign in to comment.