diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f4860cb..0d0fa63 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ + node: [ '12.22.5', '14.17.5', '16.7.0' @@ -20,7 +20,8 @@ jobs: name: Node JS ${{ matrix.node }} steps: - uses: actions/checkout@v2 - - uses: textbook/git-checkout-submodule-action@master + with: + submodules: recursive - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} @@ -29,9 +30,9 @@ jobs: run: npm install - name: Test run: npm test - + - name: Publish if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }}