Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

chore: ignore package-lock.json #69

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 1 addition & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,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
name: Install and link the module
command: |-
Expand All @@ -91,7 +80,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run: *npm_install
- run: &samples_npm_install_and_link
name: Link the module being tested to the samples.
Expand All @@ -112,7 +100,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run: *npm_install
- run:
name: Build documentation.
Expand All @@ -123,7 +110,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.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ system-test/*key.json
*.lock
.DS_Store
google-cloud-logging-winston-*.tgz
google-cloud-logging-bunyan-*.tgz
google-cloud-logging-bunyan-*.tgz
package-lock.json