diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a235a5d8..39af908c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,7 +115,7 @@ jobs: - name: Install dependencies env: GITHUB_TOKEN: ${{ github.token }} - run: npm install --prefer-offline --no-audit --no-fund --include=optional + run: npm ci - name: Build on Windows or macOS if: runner.os != 'Linux' @@ -214,7 +214,7 @@ jobs: - name: Download tools run: | - npm install --prefer-offline --include=optional --no-audit --no-fund + npm ci npm run download-tools -- --target ${{ matrix.target }} --no-cache - name: Create vsix package @@ -268,7 +268,7 @@ jobs: package-manager-cache: false - name: Install dependencies - run: npm install --prefer-offline --include=optional --no-audit --no-fund + run: npm ci - name: Download vsix package uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index efa265ca..1e65c577 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -92,7 +92,7 @@ jobs: - name: Install dependencies env: GITHUB_TOKEN: ${{ github.token }} - run: npm install --prefer-offline --include=optional --no-audit --no-fund + run: npm ci - name: Build on Windows or macOS if: runner.os != 'Linux' @@ -183,7 +183,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - npm install --prefer-offline --include=optional --no-audit --no-fund + npm ci npm run download-tools:nightly -- --target ${{ matrix.target }} --no-cache - name: Create vsix package @@ -237,7 +237,7 @@ jobs: package-manager-cache: false - name: Install dependencies - run: npm install --prefer-offline --include=optional --no-audit --no-fund + run: npm ci - name: Download vsix package uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 diff --git a/.github/workflows/tpip.yml b/.github/workflows/tpip.yml index 01bd9bd2..9367f507 100644 --- a/.github/workflows/tpip.yml +++ b/.github/workflows/tpip.yml @@ -49,7 +49,7 @@ jobs: package-manager-cache: false - name: Install dependencies - run: npm install --prefer-offline --include=optional --no-audit --no-fund + run: npm ci - name: Generate third-party licenses report run: npm run tpip:report