Skip to content

Commit

Permalink
chore: ignore package-lock.json (#1278)
Browse files Browse the repository at this point in the history
* chore: ignore package-log.json

* remove locky
  • Loading branch information
JustinBeckwith authored and alexander-fenster committed Aug 7, 2018
1 parent 5f73cc5 commit 8f2c8d5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9,356 deletions.
14 changes: 0 additions & 14 deletions .circleci/config.yml
@@ -1,22 +1,9 @@
---
# "Include" for unit tests definition.

remove_package_lock: &remove_package_lock
name: Remove package-lock.json if needed.
command: |
WORKFLOW_NAME=`python .circleci/get_workflow_name.py`
echo "Workflow name: $WORKFLOW_NAME"
if [ "$WORKFLOW_NAME" = "nightly" ]; then
echo "Nightly build detected, removing package-lock.json"
rm -f package-lock.json
else
echo "Not a nightly build, skipping this step."
fi
unit_tests: &unit_tests
steps:
- checkout
- run: *remove_package_lock
- run: npm install
- run: npm test
- run:
Expand All @@ -32,7 +19,6 @@ unit_tests: &unit_tests
test_samples: &test_samples
steps:
- checkout
- run: *remove_package_lock
- run: npm install
- run: mkdir ~/.npm-packages
- run: echo "prefix = $HOME/.npm-packages" >> ~/.npmrc
Expand Down
79 changes: 0 additions & 79 deletions .circleci/get_workflow_name.py

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -9,4 +9,4 @@ npm-debug.log
.DS_Store
samples/*.keys.json
samples/**/credentials.json

package-lock.json

0 comments on commit 8f2c8d5

Please sign in to comment.