diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6d3ea73..1825222 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,9 +13,6 @@ jobs: build-node: runs-on: ubuntu-latest - defaults: - run: - working-directory: node-example strategy: matrix: node-version: [12.x, 14.x, 16.x] @@ -28,6 +25,12 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm ci + working-directory: ./node-example + - run: npm run build --if-present + working-directory: ./node-example + - run: npm test + working-directory: ./node-example