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 name: Test
on: [push]
on:
pull_request:
push:
branches:
- master
jobs: jobs:
build: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v2
with: with:
node-version: ${{ matrix.node-version }} node-version: '14'
- run: npm ci - run: npm ci
- run: npm test - run: npm test