weflock/.github/workflows/test.yml
2020-03-31 15:54:56 +01:00

22 lines
517 B
YAML

name: Test
on:
pull_request:
push:
branches:
- master
- 'renovate/*'
jobs:
build:
runs-on: ubuntu-18.04
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
strategy:
matrix:
node: [ 10 ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: yarn
- run: yarn test:ci