Update GH action

This commit is contained in:
Vadim Makeev 2021-06-24 03:03:56 +03:00
parent c05fa8b108
commit 42a7b73ae4
1 changed files with 9 additions and 7 deletions

View File

@ -1,16 +1,18 @@
name: Test
on: [push]
on:
pull_request:
push:
branches:
- master
jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: '14'
- run: npm ci
- run: npm test