Files
flood/.github/workflows/build.yml
Jesse Chan 52535e1eab CI: configure Github Actions
Signed-off-by: Jesse Chan <jc@linux.com>
2020-08-04 16:21:02 +08:00

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