File tree Expand file tree Collapse file tree 4 files changed +59
-45
lines changed Expand file tree Collapse file tree 4 files changed +59
-45
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # if [[ $TRAVIS_PULL_REQUEST_BRANCH != *"greenkeeper"* ]]; then
4+ # exit 0
5+ # fi
6+
7+ # if ! git diff-index --quiet HEAD --; then
8+ git config --global user.email " $GITHUB_EMAIL "
9+ git config --global user.name " Circle CI"
10+ git config --global push.default simple
11+ # git remote add jenkins https://"$GITHUB_TOKEN"@github.com/"$TRAVIS_REPO_SLUG".git
12+
13+ git add package-lock.json
14+ git commit -m " chore(*): update lockfile [ci skip]"
15+ LAST_COMMIT=` git rev-parse HEAD`
16+ echo " Test me"
17+ printenv
18+ echo $LAST_COMMIT
19+ git status
20+ # git push origin $LAST_COMMIT:$TRAVIS_PULL_REQUEST_BRANCH
21+ # git remote rm jenkins
22+ # fi
Original file line number Diff line number Diff line change 1+ # Javascript Node CircleCI 2.0 configuration file
2+ #
3+ # Check https://circleci.com/docs/2.0/language-javascript/ for more details
4+ #
5+ version : 2
6+ jobs :
7+ build :
8+ docker :
9+ # https://circleci.com/docs/2.0/circleci-images/
10+ - image : circleci/node:9-browsers
11+
12+ steps :
13+ - checkout
14+
15+ - restore_cache :
16+ keys :
17+ - dependencies-{{ checksum "package.json" }}
18+ - dependencies-
19+
20+ - run :
21+ name : Install dependencies
22+ command : npm i
23+
24+ - save_cache :
25+ paths :
26+ - node_modules
27+ key : dependencies-{{ checksum "package.json" }}
28+
29+ - run :
30+ name : Custom task
31+ command : ./commit-lockfile.sh
32+
33+ - run :
34+ name : Executing tests
35+ command : npm test
36+
37+
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments