mirror of
https://github.com/dokploy/dokploy.git
synced 2026-06-14 03:19:49 +00:00
9e89edf167
Update to latest stable versions: - pnpm: 9.12.0 → 10.26.0 - Docker: 28.5.0/28.5.2 → 29.1.3 - Nixpacks: 1.39.0 → 1.41.0 - Railpack: 0.2.2/0.15.0 → 0.15.1 - buildpacks/pack: 0.35.0 → 0.39.1 Files updated: - All Dockerfiles (main, schedule, cloud, server) - All package.json files (root, server, api, schedules, dokploy) - GitHub workflow (pull-request.yml) - Server setup script - Database schema and DBML files - Test fixtures - UI components
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main, canary]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
pr-check:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
job: [build, test, typecheck]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20.16.0
|
|
cache: "pnpm"
|
|
|
|
- name: Install Nixpacks
|
|
if: matrix.job == 'test'
|
|
run: |
|
|
export NIXPACKS_VERSION=1.41.0
|
|
curl -sSL https://nixpacks.com/install.sh | bash
|
|
echo "Nixpacks installed $NIXPACKS_VERSION"
|
|
|
|
- name: Install Railpack
|
|
if: matrix.job == 'test'
|
|
run: |
|
|
export RAILPACK_VERSION=0.15.1
|
|
curl -sSL https://railpack.com/install.sh | bash
|
|
echo "Railpack installed $RAILPACK_VERSION"
|
|
|
|
- name: Add build tools to PATH
|
|
if: matrix.job == 'test'
|
|
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
|
|
|
|
- name: Initialize Docker Swarm
|
|
if: matrix.job == 'test'
|
|
run: |
|
|
docker swarm init
|
|
docker network create --driver overlay dokploy-network || true
|
|
echo "✅ Docker Swarm initialized"
|
|
|
|
- run: pnpm install --frozen-lockfile
|
|
- run: pnpm server:build
|
|
- run: pnpm ${{ matrix.job }}
|