diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c9e46938312f..c48286c92ad41 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 0399c2ded0857..ff8353b371ae8 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 a24b0bad5dd07..99b224c6ab9d3 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 741fdf0fb4a83..b04b2043714c2 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 086bc8f5087b7..3e51ebff5c3fe 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 98e96242ff58f..f0b96a3be1a1f 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