diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c9e46938..c48286c92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install + run: npm ci - name: Run external tests run: npx gulp externaltest diff --git a/.github/workflows/font_tests.yml b/.github/workflows/font_tests.yml index 0399c2ded..ff8353b37 100644 --- a/.github/workflows/font_tests.yml +++ b/.github/workflows/font_tests.yml @@ -46,7 +46,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install + run: npm ci - name: Use Python 3.12 uses: actions/setup-python@v5 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a24b0bad5..99b224c6a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install + run: npm ci - name: Run lint run: npx gulp lint diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 741fdf0fb..b04b20437 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -27,7 +27,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Install dependencies - run: npm install + run: npm ci - name: Build the `pdfjs-dist` library run: npx gulp dist diff --git a/.github/workflows/publish_website.yml b/.github/workflows/publish_website.yml index 086bc8f50..3e51ebff5 100644 --- a/.github/workflows/publish_website.yml +++ b/.github/workflows/publish_website.yml @@ -27,7 +27,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install + run: npm ci - name: Build the website run: npx gulp web diff --git a/.github/workflows/types_tests.yml b/.github/workflows/types_tests.yml index 98e96242f..f0b96a3be 100644 --- a/.github/workflows/types_tests.yml +++ b/.github/workflows/types_tests.yml @@ -25,7 +25,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm install + run: npm ci - name: Run types tests run: npx gulp typestest