From d039ab43451465c9788d8119be9f258d08f7e4b9 Mon Sep 17 00:00:00 2001 From: "J.Quiles" Date: Thu, 14 Aug 2025 11:15:03 -0400 Subject: [PATCH 1/6] npm run type-check on PRs that modify beaker-vue source code. --- .github/workflows/beaker-vue-type-check.yaml | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/beaker-vue-type-check.yaml diff --git a/.github/workflows/beaker-vue-type-check.yaml b/.github/workflows/beaker-vue-type-check.yaml new file mode 100644 index 00000000..faf1b67a --- /dev/null +++ b/.github/workflows/beaker-vue-type-check.yaml @@ -0,0 +1,34 @@ +--- +name: Beaker Vue Type Check PRs + +# yamllint disable-line rule:truthy +on: + pull_request: + paths: + - 'beaker-vue/src/**' + types: [opened, synchronize, reopened] + +jobs: + type-check: + name: Type Check beaker-vue + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'npm' + cache-dependency-path: 'beaker-vue/package-lock.json' + + - name: Install dependencies + working-directory: beaker-vue + shell: bash + run: npm ci + + - name: Run type check + working-directory: beaker-vue + shell: bash + run: npm run type-check From 1f145fadd3bfb36b00e48ef0c0e445e61d0a5152 Mon Sep 17 00:00:00 2001 From: "J.Quiles" Date: Thu, 14 Aug 2025 11:20:03 -0400 Subject: [PATCH 2/6] Some lint fixes under beaker-vue/src to ensure the type-check job runs on PRs. --- beaker-vue/src/components/cell/BeakerCodeCell.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beaker-vue/src/components/cell/BeakerCodeCell.vue b/beaker-vue/src/components/cell/BeakerCodeCell.vue index d5498dfa..9a79efd6 100644 --- a/beaker-vue/src/components/cell/BeakerCodeCell.vue +++ b/beaker-vue/src/components/cell/BeakerCodeCell.vue @@ -60,7 +60,7 @@