forked from OpenWF/SpaceNinjaServer
Reviewed-on: OpenWF/SpaceNinjaServer#1380 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
22 lines
574 B
YAML
22 lines
574 B
YAML
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: npm run verify
|
|
- run: npm run lint
|