mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test Tools: Switch away from npx install-changed in GitHub Actions to increase the cache performance.
Using `npm ci` makes better use of the npm cache that's in use, speeding up the test runs by around 30 seconds. See #52660 git-svn-id: https://develop.svn.wordpress.org/trunk@50446 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9ba7875fc8
commit
6f89bd0064
2
.github/workflows/coding-standards.yml
vendored
2
.github/workflows/coding-standards.yml
vendored
@ -121,7 +121,7 @@ jobs:
|
||||
node --version
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npx install-changed --install-command="npm ci"
|
||||
run: npm ci
|
||||
|
||||
- name: Run JSHint
|
||||
run: npm run grunt jshint
|
||||
|
||||
2
.github/workflows/end-to-end-tests.yml
vendored
2
.github/workflows/end-to-end-tests.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npx install-changed --install-command="npm ci"
|
||||
run: npm ci
|
||||
|
||||
- name: Build WordPress
|
||||
run: npm run build
|
||||
|
||||
2
.github/workflows/javascript-tests.yml
vendored
2
.github/workflows/javascript-tests.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
||||
node --version
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npx install-changed --install-command="npm ci"
|
||||
run: npm ci
|
||||
|
||||
- name: Run QUnit tests
|
||||
run: npm run grunt qunit:compiled
|
||||
|
||||
2
.github/workflows/phpunit-tests.yml
vendored
2
.github/workflows/phpunit-tests.yml
vendored
@ -133,7 +133,7 @@ jobs:
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npx install-changed --install-command="npm ci"
|
||||
run: npm ci
|
||||
|
||||
- name: Get composer cache directory
|
||||
id: composer-cache
|
||||
|
||||
2
.github/workflows/test-coverage.yml
vendored
2
.github/workflows/test-coverage.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npx install-changed --install-command="npm ci"
|
||||
run: npm ci
|
||||
|
||||
- name: Docker debug information
|
||||
run: |
|
||||
|
||||
2
.github/workflows/verify-npm-on-windows.yml
vendored
2
.github/workflows/verify-npm-on-windows.yml
vendored
@ -67,7 +67,7 @@ jobs:
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npx install-changed --install-command="npm ci"
|
||||
run: npm ci
|
||||
|
||||
- name: Build WordPress
|
||||
run: npm run build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user