diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb8fdcec..48d901b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,13 +5,8 @@ stages: run_tests: stage: test + tags: + - gcloud script: - - node --version - - npm --version - - env - #- npm install github:nearprotocol/nearlib#nightshade - #- ls -lh node_modules/nearlib - - npm install - - ./bin/near state test.near - #- npm install - #- npm run test + - npm install + - NODE_ENV=development npm run test diff --git a/test/new_project.sh b/test/new_project.sh index 45c005c8..ce68edbc 100755 --- a/test/new_project.sh +++ b/test/new_project.sh @@ -7,8 +7,7 @@ rm -rf tmp-project # test generating new project in cwd mkdir tmp-project cd tmp-project -npm install -g ../ -near new_project +../bin/near new_project npm install npm remove near-shell npm install ../