ci: enforce frozen lockfile and run unit tests (#42)
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -22,11 +22,14 @@ jobs:
|
||||
bun-version: 1.3.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Lint & Type Check
|
||||
run: bun run check
|
||||
|
||||
- name: Unit Tests
|
||||
run: bun test
|
||||
|
||||
build:
|
||||
needs: check
|
||||
name: Build & Test
|
||||
@@ -43,7 +46,7 @@ jobs:
|
||||
bun-version: 1.3.0
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
run: bun run build
|
||||
|
||||
Reference in New Issue
Block a user