improve: use all supported nodejs versions in workflow #459

Merged
Sainan merged 1 commits from test-all into main 2024-07-03 04:12:44 -07:00

View File

@ -5,13 +5,16 @@ on:
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: "20.x"
node-version: ${{ matrix.version }}
- run: npm ci
- run: cp config.json.example config.json
- run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json