mirror of
https://github.com/bdnugget/rs-sdk.git
synced 2026-11-07 09:07:30 +00:00
Follow up kadeski’s fix in PR #73 with current-balance and inventory-capacity checks. Keep the original report and authorship credited in the vendor patch checklist. Exercise both reported exploit inputs in compiled-script tests, and build engine content for those tests in CI.
40 lines
872 B
YAML
40 lines
872 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: 1.3.14
|
|
|
|
- name: Install root dependencies
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Install webclient dependencies
|
|
working-directory: server/webclient
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Install engine dependencies
|
|
working-directory: server/engine
|
|
run: bun install --frozen-lockfile
|
|
|
|
- name: Build game content for compiled-script regression tests
|
|
working-directory: server/engine
|
|
env:
|
|
BUILD_VERIFY: "false"
|
|
run: bun run build
|
|
|
|
- name: Type-check, test, and verify generated docs
|
|
run: bun run check
|