From 42a7b73ae41d08b26db3335e562d749f7b3bb4a4 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Thu, 24 Jun 2021 03:03:56 +0300 Subject: [PATCH] Update GH action --- .github/workflows/test.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5ea4d5..0241cbf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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