XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
UTF-8
name: Build
on:
    push: {}
    pull_request: {}
jobs:
    build:
        runs-on: ubuntu-latest
        strategy:
            matrix:
                version: [18, 20, 22]
        steps:
            - name: Checkout
              uses: actions/checkout@v4.1.2
            - name: Setup Node.js environment
              uses: actions/setup-node@v4.0.2
              with:
                  node-version: ${{ matrix.version }}
            - run: npm ci
            - run: cp config.json.example config.json
            - run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json
            - run: npm run build
            - run: npm run lint