From 8a860c35c056337a4d294ca427ff46e8e811c5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominykas=20Blyz=CC=8Ce=CC=87?= Date: Mon, 31 Jan 2022 17:55:34 +0200 Subject: [PATCH] ci: use pkgjs/action --- .github/workflows/test.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a422767..92b21e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,14 @@ name: Test + on: push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] jobs: test: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 17.x] - os: [ubuntu-latest, windows-latest] - - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: npm install and test - run: npm it + uses: pkgjs/action/.github/workflows/node-test.yaml@v0 + with: + runs-on: ubuntu-latest, windows-latest + upgrade-policy: all