Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Publish
runs-on: ubuntu-latest
permissions:
id-token: write # Required for OIDC authentication with MCP registry
id-token: write # Required for OIDC authentication with npm and MCP registry
contents: read

steps:
Expand All @@ -25,15 +25,17 @@ jobs:
version: 10

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: "20"
cache: "pnpm"
node-version: "24"
registry-url: "https://registry.npmjs.org"
package-manager-cache: false # Never use caching in release builds

- name: Authenticate
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm run build

- name: Read the version
id: version
Expand Down Expand Up @@ -69,10 +71,7 @@ jobs:

- name: Publish to NPM
if: steps.npm.outputs.on_npm != 'true'
run: |
pnpm install
pnpm run build
pnpm publish --access public --no-git-checks
run: npm publish --provenance --access public

# npm takes a few minutes to serve a new version, and the MCP registry checks npm for the
# version before it accepts a server.json; publishing to it straight after npm fails with
Expand Down
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firecrawl",
"version": "3.25.5",
"version": "3.26.0",
"description": "Official Firecrawl MCP for web search, scraping, crawling, and structured data extraction.",
"mcpServers": {
"firecrawl": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firecrawl-mcp",
"version": "3.25.5",
"version": "3.26.0",
"description": "MCP server for Firecrawl — search, scrape, and interact with the web, and search scientific papers. Supports both cloud and self-hosted instances. Features include web search, scraping, page interaction, batch processing, LLM-powered content analysis, and research paper search over biomedical and arXiv literature (PubMed, bioRxiv, medRxiv, arXiv) with citation-graph expansion and full-text reading.",
"type": "module",
"mcpName": "io.github.firecrawl/firecrawl-mcp-server",
Expand Down
6 changes: 6 additions & 0 deletions tests/plugin-packages.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ function readJson(path) {
return JSON.parse(readFileSync(path, 'utf8'));
}

test('Gemini extension version matches the npm package version', () => {
const packageJson = readJson(new URL('../package.json', import.meta.url));
const extension = readJson(new URL('../gemini-extension.json', import.meta.url));
assert.equal(extension.version, packageJson.version);
});

test('tool coverage ignores incidental mentions and checks explicit references', (t) => {
const plugin = mkdtempSync(join(tmpdir(), 'plugin-contract-'));
t.after(() => rmSync(plugin, { recursive: true, force: true }));
Expand Down
Loading