diff --git a/.github/workflows/check-built-files.yml b/.github/workflows/check-built-files.yml index 2f45b6719aa77..72b6ae86d127e 100644 --- a/.github/workflows/check-built-files.yml +++ b/.github/workflows/check-built-files.yml @@ -19,6 +19,8 @@ on: - '**.sass' # These files configure npm and the task runner. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**' diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index e89d638eef605..0a26a87340a33 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -23,6 +23,8 @@ on: - '**.php' # These files configure npm. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' # These files configure Composer. Changes could affect the outcome. - 'composer.*' # This file configures JSHint. Changes could affect the outcome. diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 81f0c7cf4720c..f78d56c3b8f0a 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -24,6 +24,8 @@ on: - '**.php' # These files configure npm and the task runner. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**' diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 0caf52ba68b0e..54ca64ef6a508 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -21,6 +21,8 @@ on: - '**.js' # These files configure npm and the task runner. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**' diff --git a/.github/workflows/local-docker-environment.yml b/.github/workflows/local-docker-environment.yml index c0a70c9afb7df..bf275abd72205 100644 --- a/.github/workflows/local-docker-environment.yml +++ b/.github/workflows/local-docker-environment.yml @@ -17,6 +17,8 @@ on: - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**' + - '.npmrc' + - '.nvmrc' # These files configure Composer. Changes could affect the local environment. - 'composer.*' # These files define the versions to test. @@ -41,6 +43,8 @@ on: - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**' + - '.npmrc' + - '.nvmrc' # These files configure Composer. Changes could affect the local environment. - 'composer.*' # These files define the versions to test. diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index f75dc750ab240..ff09a5a8f40c2 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -23,6 +23,8 @@ on: - '**.php' # These files configure npm and the task runner. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**' diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index cfc331cedc04b..41b6113c9d76c 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -25,6 +25,8 @@ on: - 'src/SECURITY.md' # These files configure npm and the task runner. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' - 'Gruntfile.js' # These files configure Composer. Changes could affect the outcome. - 'composer.*' diff --git a/.github/workflows/test-and-zip-default-themes.yml b/.github/workflows/test-and-zip-default-themes.yml index 56cc2e9895cd2..20d4131804111 100644 --- a/.github/workflows/test-and-zip-default-themes.yml +++ b/.github/workflows/test-and-zip-default-themes.yml @@ -8,7 +8,8 @@ on: - '[4-9].[0-9]' paths: # Changing the preferred version of Node.js could affect themes with build processes. - - '.nvm' + - '.npmrc' + - '.nvmrc' # Changes to any themes with a build script should be confirmed. - 'src/wp-content/themes/twentynineteen/**' - 'src/wp-content/themes/twentytwenty/**' @@ -22,7 +23,8 @@ on: - '[4-9].[0-9]' paths: # Changing the preferred version of Node.js could affect themes with build processes. - - '.nvm' + - '.npmrc' + - '.nvmrc' # Changes to any themes with a build script should be confirmed. - 'src/wp-content/themes/twentynineteen/**' - 'src/wp-content/themes/twentytwenty/**' diff --git a/.github/workflows/test-build-processes.yml b/.github/workflows/test-build-processes.yml index 559dd0a92a1c4..5d63a9b456e1c 100644 --- a/.github/workflows/test-build-processes.yml +++ b/.github/workflows/test-build-processes.yml @@ -22,6 +22,8 @@ on: - '**.php' # These files configure npm and the task runner. Changes could affect the outcome. - 'package*.json' + - '.npmrc' + - '.nvmrc' - 'Gruntfile.js' - 'webpack.config.js' - 'tools/webpack/**'