Skip to content

Commit 22510e2

Browse files
committed
vue: enable vue on ci
1 parent 049a5b7 commit 22510e2

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
- 'nestjs'
3333
- 'protobufjs'
3434
- 'ts_project_transpiler'
35-
# TODO: failing
36-
# - 'vue'
35+
- 'vue'
3736
- 'write_source_files'
3837

3938
steps:

vue/BUILD.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ load("@npm//:defs.bzl", "npm_link_all_packages")
22
load("@npm//:vite/package_json.bzl", vite_bin = "bin")
33
load("@npm//:vue-tsc/package_json.bzl", vue_tsc_bin = "bin")
44

5+
# TODO: add unit tests instead of only testing building
6+
load("@bazel_skylib//rules:build_test.bzl", "build_test")
7+
58
# This macro expands to a link_npm_package for each third-party package in package.json
69
npm_link_all_packages(name = "node_modules")
710

@@ -45,3 +48,11 @@ vite_bin.vite_binary(
4548
name = "vite",
4649
data = SRCS + BUILD_DEPS,
4750
)
51+
52+
build_test(
53+
name = "build_test",
54+
targets = [
55+
":build",
56+
":type-check",
57+
],
58+
)

0 commit comments

Comments
 (0)