Skip to content

Commit c352490

Browse files
authored
ci: Add GitHub Action to verify Notebook MCP bundle (#12)
Co-authored-by: snehshah22 <snehshah22@users.noreply.github.com>
1 parent ed9a649 commit c352490

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Notebook MCP Bundle Check
16+
17+
on:
18+
pull_request:
19+
paths:
20+
- 'notebook_mcp/**'
21+
22+
jobs:
23+
check-bundle:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Check out code
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
28+
29+
- name: Set up Node.js
30+
uses: actions/setup-node@64745409647f540ba9c1a129988bd580887fb902 # v4
31+
with:
32+
node-version: '20'
33+
34+
- name: Install dependencies
35+
run: npm install
36+
working-directory: notebook_mcp
37+
38+
- name: Build bundle
39+
run: npm run bundle
40+
working-directory: notebook_mcp
41+
42+
- name: Check for uncommitted changes in bundle
43+
run: git diff --exit-code notebook_mcp/dist/index.js

0 commit comments

Comments
 (0)