Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ignore package-lock.json #326

Merged
merged 3 commits into from
Aug 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,7 @@ jobs:
- image: 'node:6'
user: node
steps: &unit_tests_steps
- checkout
- run: &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 samples/package-lock.json
else
echo "Not a nightly build, skipping this step."
fi
- checkout
- run: &npm_install_and_link
name: Install and link the module
command: |-
Expand All @@ -96,7 +85,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run: *npm_install_and_link
- run: &samples_npm_install_and_link
name: Link the module being tested to the samples.
Expand All @@ -117,7 +105,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run: *npm_install_and_link
- run:
name: Build documentation.
Expand All @@ -128,7 +115,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run:
name: Decrypt credentials.
command: |
Expand All @@ -155,7 +141,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run:
name: Decrypt credentials.
command: |
Expand Down
67 changes: 0 additions & 67 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 @@ system-test/*key.json
google-cloud-logging-winston-*.tgz
google-cloud-logging-bunyan-*.tgz
.vscode
package-lock.json
Loading