Skip to content

Commit 9371a48

Browse files
committed
Migrate to yarn to install packages without package.json (but keep npm rebuild)
1 parent 81ce939 commit 9371a48

File tree

7 files changed

+5213
-7315
lines changed

7 files changed

+5213
-7315
lines changed

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ script:
3131
-v ~/.cache/electron:/root/.cache/electron \
3232
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
3333
electronuserland/builder \
34-
/bin/bash -c "npm install && npm run release:linux"
34+
/bin/bash -c "yarn && yarn run release:linux"
3535
else
36-
npm run release:mac
36+
yarn run release:mac
3737
fi
3838
before_cache:
3939
- rm -rf $HOME/.cache/electron-builder

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ init:
1212

1313
install:
1414
- ps: Install-Product node 8 x64
15-
- npm install
15+
- yarn
1616

1717
build_script:
18-
- npm run release:win
18+
- yarn run release:win
1919

2020
test: off

0 commit comments

Comments
 (0)