Merge pull request #18353 from wojtekmaj/npm-ci

Use `npm ci`, not `npm install`, on CI
This commit is contained in:
Tim van der Meij 2024-07-01 15:25:02 +02:00 committed by GitHub
commit 8556a26390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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