Skip to content

Commit

Permalink
update github actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
knhn1004 committed Sep 25, 2024
1 parent e0e5697 commit f501ee9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- name: Cache Bun dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
Expand All @@ -40,15 +40,15 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- name: Cache Bun dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
Expand All @@ -68,15 +68,15 @@ jobs:
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- name: Cache Bun dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ services:
- /app/node_modules
environment:
- NODE_ENV=development
env_file:
- .env

db:
image: postgres:latest
Expand Down
Binary file modified server/bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"test": "bun test src/tests",
"lint": "eslint .",
"typecheck": "tsc --noEmit --skipLibCheck",
"build": "bun build ./src/index.ts --outdir ./dist"
"build": "bun build ./src/index.ts --outdir ./dist",
"precommit": "bun lint && bun typecheck && bun test"
},
"dependencies": {
"hono": "^4.6.3"
Expand Down

0 comments on commit f501ee9

Please sign in to comment.