diff --git a/.github/workflows/beta-server-image.yml b/.github/workflows/beta-server-image.yml index 25ae743..2ad6f9d 100644 --- a/.github/workflows/beta-server-image.yml +++ b/.github/workflows/beta-server-image.yml @@ -6,9 +6,9 @@ name: Beta Server Image # # Tags produced (on ghcr.io//): # - beta moving channel pointer to the newest build -# - e.g. feature-host-control-mode +# - e.g. feature-textchat # - sha- immutable, pin to an exact build -# - only on manual run, e.g. hostcontrol01 +# - only on manual run, e.g. chatbeta01 # Never ':latest' (flavor: latest=false). # # Remove this workflow once the feature is merged & released the normal way. @@ -16,11 +16,11 @@ name: Beta Server Image on: push: branches: - - feature/host-control-mode + - feature/textchat workflow_dispatch: inputs: tag: - description: 'Extra immutable tag for this build (e.g. hostcontrol01). Optional.' + description: 'Extra immutable tag for this build (e.g. chatbeta01). Optional.' required: false default: '' @@ -38,6 +38,25 @@ jobs: - name: Checkout code uses: actions/checkout@v7 + - name: Set up Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + cache: 'npm' + cache-dependency-path: | + package-lock.json + server/package-lock.json + + - name: Install root dependencies + run: npm ci + + - name: Install server dependencies + run: npm ci + working-directory: server + + - name: Run verification suite + run: npm run verify + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4