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