@@ -35,7 +35,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
- run: npm i -g npminstall && npminstall
+ run: npm i -g npminstall@5 && npminstall
- name: Continuous Integration
run: npm run ci
@@ -3,7 +3,7 @@ language: node_js
node_js:
- '10'
before_install:
- - npm i npminstall -g
+ - npm i npminstall@5 -g
install:
- npminstall
script:
@@ -4,7 +4,7 @@ environment:
- ps: Install-Product node $env:nodejs_version
- - npm i npminstall && node_modules\.bin\npminstall
+ - npm i npminstall@5 && node_modules\.bin\npminstall
test_script:
- node --version
@@ -2,7 +2,7 @@
// eslint-disable-next-line strict
const egg = require('egg');
-const workers = Number(process.argv[2] || require('os').cpus().length);
+const workers = 1;
egg.startCluster({
workers,
baseDir: __dirname,