chilio / laravel-dusk-ci

Docker Test suite for Laravel Dusk in gitlab CI
MIT License
159 stars 51 forks source link

Is it possible to run "npm ci"? #35

Closed ghost closed 5 years ago

chilio commented 5 years ago

@ricardovigatti you are free to use any npm or moreover ubntu commands in your .gitlab-ci.yml script...

ghost commented 5 years ago

Look this:

+ npm ci

Usage: npm <command>

where <command> is one of:
    access, adduser, bin, bugs, c, cache, completion, config,
    ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
    help, help-search, i, init, install, install-test, it, link,
    list, ln, login, logout, ls, outdated, owner, pack, ping,
    prefix, prune, publish, rb, rebuild, repo, restart, root,
    run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, tag, team, test, tst, un, uninstall,
    unpublish, unstar, up, update, v, version, view, whoami

npm <cmd> -h     quick help on <cmd>
npm -l           display full usage info
npm help <term>  search for help on <term>
npm help npm     involved overview
Specify configs in the ini-formatted file:
    /.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@3.10.10 /usr/lib/node_modules/npm
script returned exit code 1

image

I'm wondering why of "npm@3.10.10". Seems right to you?

chilio commented 5 years ago

All images except old-stable are using npm 6.4.1 so please use never ones like latest, dev or stable...