Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use npx command #23686

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cast_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: yarn install --immutable

- name: Build Cast
run: ./node_modules/.bin/gulp build-cast
run: npx gulp build-cast
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: yarn install --immutable

- name: Build Cast
run: ./node_modules/.bin/gulp build-cast
run: npx gulp build-cast
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Check for duplicate dependencies
run: yarn dedupe --check
- name: Build resources
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data gather-gallery-pages
run: npx gulp gen-icons-json build-translations build-locale-data gather-gallery-pages
- name: Setup lint cache
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Build resources
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data
run: npx gulp gen-icons-json build-translations build-locale-data
- name: Run Tests
run: yarn run test
build:
Expand All @@ -85,7 +85,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Build Application
run: ./node_modules/.bin/gulp build-app
run: npx gulp build-app
env:
IS_TEST: "true"
- name: Upload bundle stats
Expand All @@ -109,7 +109,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Build Application
run: ./node_modules/.bin/gulp build-hassio
run: npx gulp build-hassio
env:
IS_TEST: "true"
- name: Upload bundle stats
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/demo_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: yarn install --immutable

- name: Build Demo
run: ./node_modules/.bin/gulp build-demo
run: npx gulp build-demo
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: yarn install --immutable

- name: Build Demo
run: ./node_modules/.bin/gulp build-demo
run: npx gulp build-demo
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/design_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: yarn install --immutable

- name: Build Gallery
run: ./node_modules/.bin/gulp build-gallery
run: npx gulp build-gallery
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/design_preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: yarn install --immutable

- name: Build Gallery
run: ./node_modules/.bin/gulp build-gallery
run: npx gulp build-gallery
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion cast/script/build_cast
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp build-cast
npx gulp build-cast
2 changes: 1 addition & 1 deletion cast/script/develop_cast
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp develop-cast
npx gulp develop-cast
2 changes: 1 addition & 1 deletion demo/script/build_demo
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp build-demo
npx gulp build-demo
2 changes: 1 addition & 1 deletion demo/script/develop_demo
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp develop-demo
npx gulp develop-demo
2 changes: 1 addition & 1 deletion demo/script/size_stats
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp analyze-demo
npx gulp analyze-demo
2 changes: 1 addition & 1 deletion gallery/script/build_gallery
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp build-gallery
npx gulp build-gallery
2 changes: 1 addition & 1 deletion gallery/script/develop_gallery
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp develop-gallery
npx gulp develop-gallery
2 changes: 1 addition & 1 deletion hassio/script/build_hassio
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp build-hassio
npx gulp build-hassio
2 changes: 1 addition & 1 deletion hassio/script/develop
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp develop-hassio
npx gulp develop-hassio
2 changes: 1 addition & 1 deletion landing-page/script/build_landing_page
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp build-landing-page
npx gulp build-landing-page
2 changes: 1 addition & 1 deletion landing-page/script/develop
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/../.."

./node_modules/.bin/gulp develop-landing-page
npx gulp develop-landing-page
2 changes: 1 addition & 1 deletion script/build_frontend
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/.."

./node_modules/.bin/gulp build-app
npx gulp build-app
2 changes: 1 addition & 1 deletion script/develop
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/.."

./node_modules/.bin/gulp develop-app
npx gulp develop-app
2 changes: 1 addition & 1 deletion script/setup_translations
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/.."

./node_modules/.bin/gulp setup-and-fetch-nightly-translations
npx gulp setup-and-fetch-nightly-translations
2 changes: 1 addition & 1 deletion script/size_stats
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e

cd "$(dirname "$0")/.."

./node_modules/.bin/gulp analyze-app
npx gulp analyze-app
2 changes: 1 addition & 1 deletion script/translations_download
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ set -eu -o pipefail

cd "$(dirname "$0")/.."

./node_modules/.bin/gulp download-translations
npx gulp download-translations
Loading