From ead7c8708cbb35a54ceea9dd916759db6d2540a9 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Wed, 22 Feb 2023 01:34:58 +0100 Subject: [PATCH] Update test --- .github/workflows/test.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5ea4d5..725b5e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,16 +1,18 @@ name: Test -on: [push] + +on: + pull_request: + push: + branches: + - main 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/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 16 - run: npm ci - run: npm test