mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
24 lines
400 B
YAML
24 lines
400 B
YAML
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node: [12, 14]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Node.js ${{ matrix.node }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
|
|
- run: cp config.template.js config.js
|
|
- run: npm install
|
|
- run: npm run build
|