Files
web/.github/workflows/test.yml
XhmikosR 37d75b9c46 Update CI config
* only run the workflows for pushes to master and develop branches and for all PRs
* remove moot `strategy` since we use one Node.js version

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 11:24:50 +03:00

34 lines
503 B
YAML

name: Tests
on:
push:
branches:
- devel
- master
pull_request:
branches:
- "**"
env:
CI: true
jobs:
run:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Install npm dependencies
run: npm ci
- name: Run tests
run: npm test