Skip to content

chore(deps-dev): bump @modelcontextprotocol/inspector from 1.0.0 to 2.1.0 #688

chore(deps-dev): bump @modelcontextprotocol/inspector from 1.0.0 to 2.1.0

chore(deps-dev): bump @modelcontextprotocol/inspector from 1.0.0 to 2.1.0 #688

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
# No GITHUB_TOKEN permissions, as we only use it to increase API limit.
permissions: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
cache: npm
node-version-file: ".nvmrc"
- name: Install
run: npm ci
env:
# Increase GitHub API limit.
GITHUB_TOKEN: ${{ github.token }}
- name: Run prettier
run: npx prettier --check . || (exit_code=$? && npx prettier --write . && git diff --color && exit $exit_code)
- name: Run ESLint
run: npx eslint .
- name: Run tsc
run: npx --package=typescript tsc --noEmit
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
cache: npm
node-version-file: ".nvmrc"
- name: Install
run: npm ci
env:
# Increase GitHub API limit.
GITHUB_TOKEN: ${{ github.token }}
- name: Run tests
run: npm run test