Skip to content

Commit

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

* remove locky

* touchup
  • Loading branch information
JustinBeckwith authored and alexander-fenster committed Aug 7, 2018
1 parent 3463ee7 commit 9cdfb6f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5,806 deletions.
21 changes: 2 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,12 @@ release_tags: &release_tags
only: /^v\d+(\.\d+){2}(-.*)?$/

# "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:
name: Compile
command: npm run compile
- run:
name: Run unit tests.
command: npm run test-only
- run: npm run compile
- run: npm run test-only
- run: npm run codecov

version: 2.0
Expand Down
79 changes: 0 additions & 79 deletions .circleci/get_workflow_name.py

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ yarn-error.log
examples/*.keys.json
!examples/**/*.js
.nyc_output
package-lock.json
Loading

0 comments on commit 9cdfb6f

Please sign in to comment.