This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
||||
branches: [main, develop]
|
||||
|
||||
jobs:
|
||||
install-dependencies:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: oven/bun:alpine
|
||||
@@ -18,12 +18,17 @@ jobs:
|
||||
- name: Install Dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Upload node_modules artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: node_modules
|
||||
path: node_modules
|
||||
retention-days: 1
|
||||
- name: Build application
|
||||
run: bun run build
|
||||
|
||||
- name: Run type checking
|
||||
run: bun run check
|
||||
|
||||
- name: Run linting
|
||||
run: bun run lint:check
|
||||
|
||||
- name: Check formatting
|
||||
run: bun run format:check
|
||||
|
||||
# type-check:
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user