mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
ci: simplify Mac workflow by removing Node.js dependency
Remove the dependency on Node.js CI job for Mac and iOS builds, and always build web artifacts locally in the Mac workflow. This simplifies the CI pipeline and removes the artifact download step that could fail. Changes: - Remove `node` dependency from `mac` and `ios` jobs in ci.yml - Replace artifact download with direct web build in mac.yml - Simplify the build process by removing conditional logic This extracts the CI workflow improvements from PR #318. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
1052354394
commit
ac55f9685c
2 changed files with 9 additions and 20 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
|
||||
mac:
|
||||
name: Mac CI
|
||||
needs: [changes, node]
|
||||
needs: [changes]
|
||||
if: |
|
||||
always() &&
|
||||
!contains(needs.*.result, 'failure') &&
|
||||
|
|
@ -62,7 +62,7 @@ jobs:
|
|||
|
||||
ios:
|
||||
name: iOS CI
|
||||
needs: [changes, node]
|
||||
needs: [changes]
|
||||
if: |
|
||||
always() &&
|
||||
!contains(needs.*.result, 'failure') &&
|
||||
|
|
|
|||
25
.github/workflows/mac.yml
vendored
25
.github/workflows/mac.yml
vendored
|
|
@ -141,25 +141,14 @@ jobs:
|
|||
fi
|
||||
done
|
||||
|
||||
- name: Download web build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: web-build-${{ github.sha }}
|
||||
path: web/
|
||||
|
||||
- name: Build web artifacts if missing
|
||||
- name: Build web artifacts
|
||||
run: |
|
||||
if [ ! -d "web/dist" ] || [ ! -d "web/public/bundle" ]; then
|
||||
echo "Web build artifacts not found, building locally..."
|
||||
cd web
|
||||
# Skip custom Node.js build in CI to avoid timeout
|
||||
export CI=true
|
||||
pnpm run build
|
||||
echo "Web artifacts built successfully"
|
||||
else
|
||||
echo "Web build artifacts found, skipping local build"
|
||||
fi
|
||||
echo "Building web artifacts locally..."
|
||||
cd web
|
||||
# Skip custom Node.js build in CI to avoid timeout
|
||||
export CI=true
|
||||
pnpm run build
|
||||
echo "Web artifacts built successfully"
|
||||
|
||||
- name: Resolve Dependencies (once)
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue