mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-01 02:52:49 +08:00
test: establish gateway refactoring checks and prevent stale directory entries
This commit is contained in:
1 parent
aeaeb15965
commit
541a216c4d
13 files changed
+385
-94
No files matched your search
@@ -16,7 +16,11 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
|
||||
windows-x64:
|
||||
needs: verify
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -47,7 +51,7 @@ jobs:
|
||||
npm version --no-git-tag-version $releaseVersion
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
}
|
||||
npm --prefix web run build
|
||||
npm run web:build
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
npm run build
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
@@ -118,6 +122,7 @@ jobs:
|
||||
compression-level: 0
|
||||
|
||||
linux-x64:
|
||||
needs: verify
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -142,7 +147,7 @@ jobs:
|
||||
if [ "$current_version" != "$release_version" ]; then
|
||||
npm version --no-git-tag-version "$release_version"
|
||||
fi
|
||||
npm --prefix web run build
|
||||
npm run web:build
|
||||
npm run build
|
||||
npm prune --omit=dev --no-audit --no-fund
|
||||
- name: Package and smoke-test Linux x64
|
||||
|
||||
@@ -2,8 +2,10 @@ name: Continuous integration
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [dev, master]
|
||||
pull_request:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -26,10 +28,8 @@ jobs:
|
||||
npm run prepare:sdk
|
||||
npm rebuild @discordjs/opus --foreground-scripts --no-audit --no-fund
|
||||
npm --prefix web ci --no-audit --no-fund
|
||||
- name: Build application
|
||||
run: |
|
||||
npm run build
|
||||
npm --prefix web run build
|
||||
- name: Test and build application
|
||||
run: npm run verify
|
||||
|
||||
docker-smoke:
|
||||
needs: verify
|
||||
|
||||
@@ -14,7 +14,11 @@ env:
|
||||
IMAGE_NAME: ghcr.io/echosixhiya/webspeak
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
|
||||
publish:
|
||||
needs: verify
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in new issue
Block a user