mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
29 lines
459 B
YAML
29 lines
459 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'integration/**'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node: [12, 14]
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm run start -- --help
|