chore(CI): use pnpm-rocket for installation

This commit is contained in:
Zoltan Kochan committed 2016-08-31 20:18:42 +03:00
1 parent e8cf085029
commit f53fd7102f
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
'use strict'
const fs = require('fs')
const path = require('path')
const eof = require('os').EOL
module.exports = opts => {
const pkgPath = path.resolve(process.cwd(), 'package.json')
@@ -27,5 +28,5 @@ module.exports = opts => {
}
newPkgJSON.name = opts.pkgName
fs.writeFileSync(pkgPath, JSON.stringify(newPkgJSON, null, 2), 'UTF8')
fs.writeFileSync(pkgPath, JSON.stringify(newPkgJSON, null, 2) + eof, 'UTF8')
}
+1 -1
View File
@@ -4,7 +4,7 @@ node_js:
- 6
sudo: false
before_install:
- npm install -g pnpm
- npm install -g pnpm-rocket
install:
- pnpm install
script:
+1 -1
View File
@@ -5,7 +5,7 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version
- npm set fetch-retry-maxtimeout 180000
- npm install -g pnpm
- npm install -g pnpm-rocket
- pnpm install
matrix:
fast_finish: true