Test action
Build Test / build (push) Failing after 9s

This commit is contained in:
Torben Schaffhauser
2026-06-27 18:28:19 +02:00
parent fd2a2b1f3d
commit 9cdabf302f
+9 -15
View File
@@ -1,4 +1,4 @@
name: Build and Deploy
name: Build Test
on:
push:
@@ -6,26 +6,20 @@ on:
- main
jobs:
build-and-deploy:
build:
runs-on: Runner
container:
image: node:22-bookworm
env:
APP_DIR: /opt/docker/apps/sveltekit-test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Docker image
run: |
docker build -t sveltekit-test:latest .
- name: Enable Corepack
run: corepack enable
- name: Deploy
run: |
mkdir -p $APP_DIR
cp compose.yml $APP_DIR/compose.yml
cd $APP_DIR
docker compose up -d
docker image prune -f
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: time pnpm build