fix: update workflow

This commit is contained in:
Jawayria
2022-02-07 15:38:18 +05:00
committed by Michael Terry
parent 8114750796
commit 4f2f17beb3

View File

@@ -1,20 +1,22 @@
name: validate
on:
- push
- pull_request
push:
branches:
- 'master'
pull_request:
branches:
- '**'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 12
node: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
- run: make validate.ci
- name: Upload coverage
uses: codecov/codecov-action@v2