Skip to content

Commit

Permalink
setup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyab committed Nov 17, 2023
1 parent e944ec1 commit 52a486e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: check
jobs:
check:
name: bun run check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run check
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
tsconfig.tsbuildinfo

# ---------------- template follows below ----------------

# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "prettier-plugin-sort-members",
"module": "index.ts",
"type": "module",
"scripts": {
"check": "bun test && tsc"
},
"devDependencies": {
"@typescript-eslint/types": "^6.11.0",
"bun-types": "latest",
Expand Down

0 comments on commit 52a486e

Please sign in to comment.