mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-31 04:58:09 +00:00
ci: publish text chat server beta
This commit is contained in:
@@ -6,9 +6,9 @@ name: Beta Server Image
|
|||||||
#
|
#
|
||||||
# Tags produced (on ghcr.io/<owner>/<repo>):
|
# Tags produced (on ghcr.io/<owner>/<repo>):
|
||||||
# - beta moving channel pointer to the newest build
|
# - beta moving channel pointer to the newest build
|
||||||
# - <branch-slug> e.g. feature-host-control-mode
|
# - <branch-slug> e.g. feature-textchat
|
||||||
# - sha-<short-commit> immutable, pin to an exact build
|
# - sha-<short-commit> immutable, pin to an exact build
|
||||||
# - <custom> only on manual run, e.g. hostcontrol01
|
# - <custom> only on manual run, e.g. chatbeta01
|
||||||
# Never ':latest' (flavor: latest=false).
|
# Never ':latest' (flavor: latest=false).
|
||||||
#
|
#
|
||||||
# Remove this workflow once the feature is merged & released the normal way.
|
# Remove this workflow once the feature is merged & released the normal way.
|
||||||
@@ -16,11 +16,11 @@ name: Beta Server Image
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- feature/host-control-mode
|
- feature/textchat
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
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
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
@@ -38,6 +38,25 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v7
|
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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v4
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user