Skip to content

Commit b98bf2f

Browse files
committed
build: use npm5 instead of yarn
1 parent e486d17 commit b98bf2f

File tree

7 files changed

+3669
-1282
lines changed

7 files changed

+3669
-1282
lines changed

.appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ matrix:
77

88
install:
99
- ps: Install-Product node $env:nodejs_version
10-
- yarn --frozen-lockfile
10+
- npm install -g npm@~5.3.0
11+
- npm install
1112

1213
test_script:
1314
- node --version
14-
- yarn --version
15+
- npm --version
1516
- node tests\run_e2e.js --appveyor
1617

1718
build: off
1819

1920
cache:
2021
- node_modules
21-
- "%LOCALAPPDATA%/Yarn"

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
- checkout
99
- restore_cache:
1010
key: angular-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
11-
- run: yarn --frozen-lockfile
11+
- run: |
12+
npm install -g npm@~5.3.0
13+
npm install
1214
- save_cache:
1315
key: angular-cli-{{ .Branch }}-{{ checksum "yarn.lock" }}
1416
paths:

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ addons:
77
language: node_js
88

99
cache:
10-
yarn: true
1110
directories:
1211
- ./node_modules
1312

@@ -92,14 +91,11 @@ matrix:
9291

9392

9493
before_install:
95-
# Install yarn.
96-
- curl -o- -L https://yarnpkg.com/install.sh | bash
97-
- export PATH="$HOME/.yarn/bin:$PATH"
98-
- yarn config set spin false
99-
- yarn config set progress false
94+
# Install npm 5.
95+
- npm install -g npm@~5.3.0
10096

10197
install:
102-
- yarn --frozen-lockfile
98+
- npm install
10399

104100
env:
105101
global:

0 commit comments

Comments
 (0)