HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1w
System: Linux server.mediaphic.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: efhamali (1088)
PHP: 7.3.33
Disabled: exec,passthru,shell_exec,system,show_source,mail,sendmail,popen,symlink,phpinfo
Upload Files
File: //lib/node_modules/npm/lib/commands/install-ci-test.js
// npm install-ci-test
// Runs `npm ci` and then runs `npm test`

const CI = require('./ci.js')

class InstallCITest extends CI {
  static description = 'Install a project with a clean slate and run tests'
  static name = 'install-ci-test'

  async exec (args, cb) {
    await this.npm.exec('ci', args)
    return this.npm.exec('test', [])
  }
}
module.exports = InstallCITest