circleci: remove global npm configuration (#4320)

This commit is contained in:
William Durand 2022-05-12 21:38:27 +02:00 коммит произвёл GitHub
Родитель b412b9aa55
Коммит d9adf1c831
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -56,15 +56,6 @@ references:
node scripts/build-locales
NODE_ENV=production npm run build
configure_global_npm: &configure_global_npm
run:
name: create custom directory for global npm installs
# This is required to avoid a `EACCES` when running `npm link` (which is
# executed in the test suite).
command: |
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
restore_next_build_cache: &restore_next_build_cache
restore_cache:
name: restore npm package cache
@ -100,7 +91,6 @@ jobs:
- *run_npm_install
- *save_build_cache
- *make_production_build
- *configure_global_npm
- run: npm run test-ci
- codecov/upload
# run integration tests using an addons-linter binary in a
@ -139,7 +129,6 @@ jobs:
- *run_npm_install
- *save_next_build_cache
- *make_production_build
- *configure_global_npm
- run: npm run test-ci
# run integration tests using an addons-linter binary in a
# production-like environment
@ -155,7 +144,6 @@ jobs:
- *run_npm_install
- *save_alternate_build_cache
- *make_production_build
- *configure_global_npm
- run: npm run test-ci
# run integration tests using an addons-linter binary in a
# production-like environment