diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 66c6848..bc25b03 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -76,9 +76,11 @@ jobs: architecture: ${{ steps.calculate_architecture.outputs.result }} cache: "npm" - name: Install dependencies + # Legacy versions do not generate types, so skip scripts that invoke `prepare` and explicitly run the code build without generating types run: | - npm i -D typescript@4 del-cli@^3 - npm i --ignore-engines + npm i -D typescript@4 del-cli@^3 --ignore-scripts + npm i --ignore-engines --ignore-scripts + npm run build:code if: matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x' || matrix.node-version == '18.x' - name: Install dependencies run: npm ci