Skip to content

Commit e295860

Browse files
authored
Add GitHub Actions workflow for Browserstack MCP CI (#5)
* Add GitHub Actions workflow for Browserstack MCP CI * Update GitHub Actions workflow to trigger on pull request reviews and check for approval before running tests
1 parent 73c7030 commit e295860

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/mcp-ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Browserstack MCP CI
2+
3+
on:
4+
pull_request_review:
5+
types: [submitted]
6+
7+
8+
jobs:
9+
test:
10+
if: github.event.pull_request.base.ref == 'main' && github.event.review.state == 'approved'
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [22.x]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- run: npm ci
24+
- run: npm test

0 commit comments

Comments
 (0)