Compare commits
8 Commits
main
...
feature/im
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2abaf6e6bf | ||
|
|
783b378673 | ||
|
|
73ccad3144 | ||
|
|
e215ba54e6 | ||
|
|
b73a52beb1 | ||
|
|
77799dded2 | ||
|
|
654f7bfec6 | ||
|
|
f35e45c38c |
@@ -7,7 +7,7 @@ on:
|
|||||||
branches: [main, develop]
|
branches: [main, develop]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
@@ -29,109 +29,68 @@ jobs:
|
|||||||
- name: Build app
|
- name: Build app
|
||||||
run: bun --bun run build
|
run: bun --bun run build
|
||||||
|
|
||||||
|
type-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install node
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: '22.x'
|
||||||
|
|
||||||
|
- name: Install bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
|
with:
|
||||||
|
bun-version: 1.3.4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun ci
|
||||||
|
|
||||||
- name: Run type checking
|
- name: Run type checking
|
||||||
run: bun --bun run check
|
run: bun --bun run check
|
||||||
|
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install node
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: '22.x'
|
||||||
|
|
||||||
|
- name: Install bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
|
with:
|
||||||
|
bun-version: 1.3.4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun ci
|
||||||
|
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: bun --bun run lint:check
|
run: bun --bun run lint:check
|
||||||
|
|
||||||
|
format-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install node
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: '22.x'
|
||||||
|
|
||||||
|
- name: Install bun
|
||||||
|
uses: oven-sh/setup-bun@v2
|
||||||
|
with:
|
||||||
|
bun-version: 1.3.4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun ci
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: bun --bun run format:check
|
run: bun --bun run format:check
|
||||||
|
|
||||||
# build-docker-image:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
|
||||||
# - name: Set up Docker Build
|
|
||||||
# uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
# - name: Log in to registry
|
|
||||||
# uses: docker/login-action@v3
|
|
||||||
# with:
|
|
||||||
# registry: ${{ vars.INSTANCE_URL }}
|
|
||||||
# username: ${{ github.actor }}
|
|
||||||
# password: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
|
||||||
|
|
||||||
# - name: Build and push image
|
|
||||||
# uses: docker/build-push-action@v6
|
|
||||||
# with:
|
|
||||||
# push: true
|
|
||||||
# tags: ${{ vars.INSTANCE_URL }}/tech-reborn/phoenix:${{ github.sha }}
|
|
||||||
|
|
||||||
# type-check:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# container:
|
|
||||||
# image: oven/bun:alpine
|
|
||||||
# needs: install-dependencies
|
|
||||||
# steps:
|
|
||||||
# - name: Checkout code
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# - name: Download node_modules artifact
|
|
||||||
# uses: actions/download-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: node_modules
|
|
||||||
# path: node_modules
|
|
||||||
|
|
||||||
# - name: Run type checking
|
|
||||||
# run: bun run check
|
|
||||||
|
|
||||||
# lint:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# container:
|
|
||||||
# image: oven/bun:alpine
|
|
||||||
# needs: install-dependencies
|
|
||||||
# steps:
|
|
||||||
# - name: Checkout code
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# - name: Download node_modules artifact
|
|
||||||
# uses: actions/download-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: node_modules
|
|
||||||
# path: node_modules
|
|
||||||
|
|
||||||
# - name: Run linting
|
|
||||||
# run: bun run lint:check
|
|
||||||
|
|
||||||
# format-check:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# container:
|
|
||||||
# image: oven/bun:alpine
|
|
||||||
# needs: install-dependencies
|
|
||||||
# steps:
|
|
||||||
# - name: Checkout code
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# - name: Download node_modules artifact
|
|
||||||
# uses: actions/download-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: node_modules
|
|
||||||
# path: node_modules
|
|
||||||
|
|
||||||
# - name: Check formatting
|
|
||||||
# run: bun run format:check
|
|
||||||
|
|
||||||
# build:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# container:
|
|
||||||
# image: oven/bun:alpine
|
|
||||||
# needs: install-dependencies
|
|
||||||
# steps:
|
|
||||||
# - name: Checkout code
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# - name: Download node_modules artifact
|
|
||||||
# uses: actions/download-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: node_modules
|
|
||||||
# path: node_modules
|
|
||||||
|
|
||||||
# - name: Build application
|
|
||||||
# run: bun run build
|
|
||||||
|
|
||||||
# - name: Upload build artifacts
|
|
||||||
# uses: actions/upload-artifact@v4
|
|
||||||
# with:
|
|
||||||
# name: build-output
|
|
||||||
# path: build/
|
|
||||||
# retention-days: 7
|
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler"
|
||||||
},
|
}
|
||||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user