diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 746e6e3..ef26dda 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -29,6 +29,12 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} + # TODO: remove after dropping support for Node <15.0.0, i.e. ensuring + # npm v7 is used. We need npm v7 due to peerDependencies automatic + # installation + - name: Install latest npm + run: npm install -g npm + if: "${{ matrix.node == 10.17.0 }}" - name: Install dependencies run: npm ci - name: Linting