Skip to content

Commit

Permalink
Fix some bazel:lint warnings and use vanilla nodejs docker image to r…
Browse files Browse the repository at this point in the history
…un it
  • Loading branch information
alexeagle committed Dec 5, 2018
1 parent 9df88bc commit 01ab48e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Expand Up @@ -56,13 +56,18 @@ jobs:
# Cannot be run on BuildKite (BazelCI), see
# https://github.com/bazelbuild/continuous-integration/issues/338
lint:
<<: *job_defaults
docker:
- image: circleci/node:10.12
steps:
- checkout:
<<: *post_checkout
- *setup_bazelrc

- run: yarn install

# Run the skylark linter to check our Bazel rules
# Note, this is not yet enforced, because
# - buildifier doesn't exit non-zero in the presence of lint warnings: https://github.com/bazelbuild/buildtools/issues/470
# - false positive for rule docstrings: https://github.com/bazelbuild/buildtools/issues/471
- run: 'yarn bazel:lint ||
(echo -e "\n.bzl files have lint errors. Please run ''yarn bazel:lint-fix''"; exit 1)'

Expand Down
2 changes: 1 addition & 1 deletion internal/e2e/node_loader_no_preserve_symlinks/BUILD.bazel
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])

load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test", "nodejs_binary")
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")

filegroup(
name = "node_modules",
Expand Down
2 changes: 1 addition & 1 deletion internal/e2e/node_loader_preserve_symlinks/BUILD.bazel
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])

load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test", "nodejs_binary")
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")

filegroup(
name = "node_modules",
Expand Down

0 comments on commit 01ab48e

Please sign in to comment.