chore(deps): bump @modelcontextprotocol/sdk from 1.13.2 to 1.17.5 #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # ubuntu-latest, windows-latest, macos-latest | |
node-version: [20.x] # 18.x, 20.x | |
vscode-version: [stable] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Compile TypeScript | |
run: npm run compile | |
- name: Run linter | |
run: npm run lint | |
- name: Run tests | |
run: xvfb-run -a npm test | |
if: runner.os == 'Linux' | |
- name: Run tests | |
run: npm test | |
if: runner.os != 'Linux' | |
env: | |
VSCODE_VERSION: ${{ matrix.vscode-version }} | |
package: | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Compile | |
run: npm run compile | |
- name: Package Extension | |
run: | | |
npm install -g @vscode/vsce | |
vsce package | |
- name: Upload VSIX | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vscode-extension | |
path: '*.vsix' |