Skip to content

Commit f4b5ec9

Browse files
Merge pull request #17913 from timvandermeij/gulp-github-actions
Don't install `gulp-cli` globally in the GitHub Actions workflows
2 parents d70caca + 92de2b7 commit f4b5ec9

File tree

5 files changed

+12
-27
lines changed

5 files changed

+12
-27
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626

27-
- name: Install Gulp
28-
run: npm install -g gulp-cli
29-
30-
- name: Install other dependencies
27+
- name: Install dependencies
3128
run: npm install
3229

3330
- name: Run external tests
34-
run: gulp externaltest
31+
run: npx gulp externaltest
3532

3633
- name: Run CLI unit tests
37-
run: gulp unittestcli
34+
run: npx gulp unittestcli

.github/workflows/font_tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ jobs:
4545
with:
4646
node-version: ${{ matrix.node-version }}
4747

48-
- name: Install Gulp
49-
run: npm install -g gulp-cli
50-
51-
- name: Install other dependencies
48+
- name: Install dependencies
5249
run: npm install
5350

5451
- name: Use Python 3.12
@@ -61,4 +58,4 @@ jobs:
6158
run: pip install fonttools
6259

6360
- name: Run font tests
64-
run: gulp fonttest --headless
61+
run: npx gulp fonttest --headless

.github/workflows/lint.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626

27-
- name: Install Gulp
28-
run: npm install -g gulp-cli
29-
30-
- name: Install other dependencies
27+
- name: Install dependencies
3128
run: npm install
3229

3330
- name: Run lint
34-
run: gulp lint
31+
run: npx gulp lint
3532

3633
- name: Run lint-chromium
37-
run: gulp lint-chromium
34+
run: npx gulp lint-chromium

.github/workflows/publish_website.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,11 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828

29-
- name: Install Gulp
30-
run: npm install -g gulp-cli
31-
32-
- name: Install other dependencies
29+
- name: Install dependencies
3330
run: npm install
3431

3532
- name: Build the website
36-
run: gulp web
33+
run: npx gulp web
3734

3835
- name: Archive the website
3936
shell: sh

.github/workflows/types_tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ jobs:
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626

27-
- name: Install Gulp
28-
run: npm install -g gulp-cli
29-
30-
- name: Install other dependencies
27+
- name: Install dependencies
3128
run: npm install
3229

3330
- name: Run types tests
34-
run: gulp typestest
31+
run: npx gulp typestest

0 commit comments

Comments
 (0)