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:
commit
f4b5ec930f
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -24,14 +24,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install Gulp
|
- name: Install dependencies
|
||||||
run: npm install -g gulp-cli
|
|
||||||
|
|
||||||
- name: Install other dependencies
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Run external tests
|
- name: Run external tests
|
||||||
run: gulp externaltest
|
run: npx gulp externaltest
|
||||||
|
|
||||||
- name: Run CLI unit tests
|
- name: Run CLI unit tests
|
||||||
run: gulp unittestcli
|
run: npx gulp unittestcli
|
||||||
|
|||||||
7
.github/workflows/font_tests.yml
vendored
7
.github/workflows/font_tests.yml
vendored
@ -45,10 +45,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install Gulp
|
- name: Install dependencies
|
||||||
run: npm install -g gulp-cli
|
|
||||||
|
|
||||||
- name: Install other dependencies
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Use Python 3.12
|
- name: Use Python 3.12
|
||||||
@ -61,4 +58,4 @@ jobs:
|
|||||||
run: pip install fonttools
|
run: pip install fonttools
|
||||||
|
|
||||||
- name: Run font tests
|
- name: Run font tests
|
||||||
run: gulp fonttest --headless
|
run: npx gulp fonttest --headless
|
||||||
|
|||||||
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
@ -24,14 +24,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install Gulp
|
- name: Install dependencies
|
||||||
run: npm install -g gulp-cli
|
|
||||||
|
|
||||||
- name: Install other dependencies
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: gulp lint
|
run: npx gulp lint
|
||||||
|
|
||||||
- name: Run lint-chromium
|
- name: Run lint-chromium
|
||||||
run: gulp lint-chromium
|
run: npx gulp lint-chromium
|
||||||
|
|||||||
7
.github/workflows/publish_website.yml
vendored
7
.github/workflows/publish_website.yml
vendored
@ -26,14 +26,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install Gulp
|
- name: Install dependencies
|
||||||
run: npm install -g gulp-cli
|
|
||||||
|
|
||||||
- name: Install other dependencies
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Build the website
|
- name: Build the website
|
||||||
run: gulp web
|
run: npx gulp web
|
||||||
|
|
||||||
- name: Archive the website
|
- name: Archive the website
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|||||||
7
.github/workflows/types_tests.yml
vendored
7
.github/workflows/types_tests.yml
vendored
@ -24,11 +24,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Install Gulp
|
- name: Install dependencies
|
||||||
run: npm install -g gulp-cli
|
|
||||||
|
|
||||||
- name: Install other dependencies
|
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Run types tests
|
- name: Run types tests
|
||||||
run: gulp typestest
|
run: npx gulp typestest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user