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: