38 lines
946 B
YAML
38 lines
946 B
YAML
name: Install Smoke
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
install-smoke:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout CLI
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v3
|
|
with:
|
|
version: 10
|
|
- name: Enable Corepack
|
|
run: corepack enable
|
|
|
|
- name: Checkout installer site
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: clawdbot/clawd.bot
|
|
path: installer-site
|
|
|
|
- name: Install pnpm deps (minimal)
|
|
run: pnpm install --ignore-scripts --frozen-lockfile
|
|
|
|
- name: Run installer docker tests
|
|
env:
|
|
CLAWDBOT_INSTALL_URL: file://$GITHUB_WORKSPACE/installer-site/public/install.sh
|
|
CLAWDBOT_INSTALL_CLI_URL: file://$GITHUB_WORKSPACE/installer-site/public/install-cli.sh
|
|
CLAWDBOT_NO_ONBOARD: "1"
|
|
run: pnpm test:install:e2e
|