1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #17913 from timvandermeij/gulp-github-actions

Don't install `gulp-cli` globally in the GitHub Actions workflows
This commit is contained in:
Tim van der Meij 2024-04-11 12:26:46 +02:00 committed by GitHub
commit f4b5ec930f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 27 deletions

View file

@ -24,14 +24,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Gulp
run: npm install -g gulp-cli
- name: Install other dependencies
- name: Install dependencies
run: npm install
- name: Run external tests
run: gulp externaltest
run: npx gulp externaltest
- name: Run CLI unit tests
run: gulp unittestcli
run: npx gulp unittestcli

View file

@ -45,10 +45,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Gulp
run: npm install -g gulp-cli
- name: Install other dependencies
- name: Install dependencies
run: npm install
- name: Use Python 3.12
@ -61,4 +58,4 @@ jobs:
run: pip install fonttools
- name: Run font tests
run: gulp fonttest --headless
run: npx gulp fonttest --headless

View file

@ -24,14 +24,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Gulp
run: npm install -g gulp-cli
- name: Install other dependencies
- name: Install dependencies
run: npm install
- name: Run lint
run: gulp lint
run: npx gulp lint
- name: Run lint-chromium
run: gulp lint-chromium
run: npx gulp lint-chromium

View file

@ -26,14 +26,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Gulp
run: npm install -g gulp-cli
- name: Install other dependencies
- name: Install dependencies
run: npm install
- name: Build the website
run: gulp web
run: npx gulp web
- name: Archive the website
shell: sh

View file

@ -24,11 +24,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Gulp
run: npm install -g gulp-cli
- name: Install other dependencies
- name: Install dependencies
run: npm install
- name: Run types tests
run: gulp typestest
run: npx gulp typestest