Skip to content

Commit a3fef46

Browse files
devversionvivian-hu-zz
authored andcommitted
build: update nodejs bazel rules (#14466)
* Updates to the latest version of the NodeJS rules to that we have: bazel-contrib/rules_nodejs@c40ceb9 This should fix the flaky CircleCI bazel builds and should be prioritized if possible.
1 parent 97f52c0 commit a3fef46

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

WORKSPACE

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
55
# Add NodeJS rules (explicitly used for sass bundle rules)
66
http_archive(
77
name = "build_bazel_rules_nodejs",
8-
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.16.3.zip",
9-
strip_prefix = "rules_nodejs-0.16.3",
8+
# TODO(devversion): temporarily depend on a specific commit because we want to make sure that
9+
# our CI is not flaky until there is a new version of the NodeJS rules. See commit:
10+
# https://github.com/bazelbuild/rules_nodejs/commit/c40ceb960af4213164d4299d8fbc8220ebdd727f
11+
url = "https://github.com/bazelbuild/rules_nodejs/archive/c40ceb960af4213164d4299d8fbc8220ebdd727f.zip",
12+
strip_prefix = "rules_nodejs-c40ceb960af4213164d4299d8fbc8220ebdd727f",
1013
)
1114

1215
# Add TypeScript rules

0 commit comments

Comments
 (0)