From 43ec0fea72c318d8ad9439fcb801e0172e9f7d93 Mon Sep 17 00:00:00 2001 From: Spartak Date: Sun, 17 May 2020 18:15:18 +0300 Subject: [PATCH] hope this helps --- .github/workflows/npmpublish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 19960b7..18743a0 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -10,11 +10,16 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node: [ '10', '12' ] + name: Node ${{ matrix.node }} sample steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: ${{ matrix.node }} + - run: npm install - run: npm test publish-npm: