mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
added tests for node
This commit is contained in:
parent
dd004c2ee5
commit
1a9ace859a
3 changed files with 67 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ def install_environment():
|
|||
|
||||
with python.in_env() as python_env:
|
||||
python_env.run('pip install nodeenv')
|
||||
python_env.run('nodeenv {0}'.format(NODE_ENV))
|
||||
python_env.run('nodeenv --jobs 4 {0}'.format(NODE_ENV))
|
||||
|
||||
with in_env(python_env) as node_env:
|
||||
node_env.run('npm install -g')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue