Skip to content

Commit

Permalink
chore: ignore package-lock.json (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Aug 7, 2018
1 parent 93e9717 commit 7cb97a7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6,935 deletions.
17 changes: 1 addition & 16 deletions packages/google-cloud-automl/.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 @@ -97,7 +86,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 @@ -118,7 +106,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run: *npm_install_and_link
- run:
name: Build documentation.
Expand All @@ -129,7 +116,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run:
name: Decrypt credentials.
command: |
Expand All @@ -156,7 +142,6 @@ jobs:
user: node
steps:
- checkout
- run: *remove_package_lock
- run:
name: Decrypt credentials.
command: |
Expand Down
67 changes: 0 additions & 67 deletions packages/google-cloud-automl/.circleci/get_workflow_name.py

This file was deleted.

3 changes: 2 additions & 1 deletion packages/google-cloud-automl/.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
Loading

0 comments on commit 7cb97a7

Please sign in to comment.