Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93e4e5e393 | ||
|
|
be16c1aadb | ||
|
|
2fb3038850 | ||
|
|
a76678293f | ||
|
|
3d094602fd | ||
|
|
5534da6e01 | ||
|
|
be687e14ba | ||
|
|
b524106ca2 | ||
|
|
44db1d691a | ||
|
|
ba35f9eab0 |
+20
-21
@@ -16,27 +16,28 @@ permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Typecheck
|
||||
run: npx tsc --noEmit
|
||||
# test:
|
||||
# runs-on: ubuntu-latest
|
||||
#
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
#
|
||||
# - name: Setup Node
|
||||
# uses: actions/setup-node@v4
|
||||
# with:
|
||||
# node-version: 22
|
||||
# cache: npm
|
||||
#
|
||||
# - name: Install dependencies
|
||||
# run: npm ci
|
||||
#
|
||||
# - name: Typecheck
|
||||
# run: npx tsc --noEmit
|
||||
#
|
||||
|
||||
build:
|
||||
needs: test
|
||||
# needs: test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -107,8 +108,6 @@ jobs:
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" \
|
||||
"cd '$DEPLOY_PATH' && \
|
||||
IMAGE_TAG='$IMAGE_TAG' docker compose pull && \
|
||||
IMAGE_TAG='$IMAGE_TAG' docker compose up -d postgres && \
|
||||
IMAGE_TAG='$IMAGE_TAG' docker compose run --rm app npx drizzle-kit migrate && \
|
||||
IMAGE_TAG='$IMAGE_TAG' docker compose up -d && \
|
||||
docker image prune -f"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user