mirror of
https://github.com/lukaszraczylo/cloudflare-crawl-mcp.git
synced 2026-07-12 04:40:36 +00:00
fixup! fix: resolve TypeScript errors in GitHub Actions
This commit is contained in:
@@ -58,15 +58,22 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: '24'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
if: steps.version.outputs.version_tag != ''
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Update package version
|
- name: Update package version
|
||||||
if: steps.version.outputs.version_tag != ''
|
if: steps.version.outputs.version_tag != ''
|
||||||
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version
|
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version
|
||||||
|
|
||||||
- name: Publish to npm
|
- name: Run GoReleaser
|
||||||
if: steps.version.outputs.version_tag != ''
|
if: steps.version.outputs.version_tag != ''
|
||||||
run: npm publish --access public
|
uses: goreleaser/goreleaser-action@v6
|
||||||
|
with:
|
||||||
|
distribution: goreleaser
|
||||||
|
version: latest
|
||||||
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|||||||
+17
-30
@@ -8,22 +8,19 @@ before:
|
|||||||
- npm ci
|
- npm ci
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
builds:
|
|
||||||
- id: cloudflare-crawl-mcp
|
|
||||||
dir: .
|
|
||||||
env:
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
goos:
|
|
||||||
- linux
|
|
||||||
- darwin
|
|
||||||
- windows
|
|
||||||
goarch:
|
|
||||||
- amd64
|
|
||||||
- arm64
|
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: default
|
- id: default
|
||||||
format: tarball
|
format: tarball
|
||||||
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
|
files:
|
||||||
|
- dist/**/*
|
||||||
|
- package.json
|
||||||
|
- README.md
|
||||||
|
- LICENSE
|
||||||
|
|
||||||
|
source:
|
||||||
|
enabled: true
|
||||||
|
name_template: "{{ .ProjectName }}_{{ .Version }}_source"
|
||||||
|
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{ .Tag }}-next"
|
name_template: "{{ .Tag }}-next"
|
||||||
@@ -42,21 +39,11 @@ release:
|
|||||||
name: cloudflare-crawl-mcp
|
name: cloudflare-crawl-mcp
|
||||||
draft: false
|
draft: false
|
||||||
|
|
||||||
npm:
|
publishers:
|
||||||
name: "@lukaszraczylo/cloudflare-crawl-mcp"
|
- name: npm
|
||||||
license: MIT
|
cmd: npm publish --access public
|
||||||
author: "Lukasz Raczylo <npmjs@raczylo.com>"
|
env:
|
||||||
repository: https://github.com/lukaszraczylo/cloudflare-crawl-mcp
|
- NODE_AUTH_TOKEN={{ .Env.NPM_TOKEN }}
|
||||||
access: public
|
dir: "."
|
||||||
channel: "latest"
|
disable: "{{ .IsSnapshot }}"
|
||||||
dir: "."
|
|
||||||
skip_upload: false
|
|
||||||
scripts:
|
|
||||||
post_pack: npm run build
|
|
||||||
keywords:
|
|
||||||
- cloudflare
|
|
||||||
- crawl
|
|
||||||
- mcp
|
|
||||||
- browser rendering
|
|
||||||
description: "A MCP tool to crawl Cloudflare's Browser Rendering API and extract data from the rendered pages."
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user