mirror of
https://github.com/lukaszraczylo/cloudflare-crawl-mcp.git
synced 2026-07-08 04:14:23 +00:00
- [x] Remove npm ci and version steps from release.yml
- [x] Add .goreleaser-dist to .gitignore - [x] Configure dist dir and before hook in goreleaser.yaml
This commit is contained in:
@@ -59,14 +59,6 @@ jobs:
|
|||||||
node-version: '24'
|
node-version: '24'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
if: steps.version.outputs.version_tag != ''
|
|
||||||
run: npm ci
|
|
||||||
|
|
||||||
- name: Update package version
|
|
||||||
if: steps.version.outputs.version_tag != ''
|
|
||||||
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version
|
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
if: steps.version.outputs.version_tag != ''
|
if: steps.version.outputs.version_tag != ''
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v6
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.envrc
|
.envrc
|
||||||
|
.goreleaser-dist
|
||||||
|
|||||||
@@ -3,10 +3,13 @@
|
|||||||
|
|
||||||
project_name: cloudflare-crawl-mcp
|
project_name: cloudflare-crawl-mcp
|
||||||
|
|
||||||
|
dist: .goreleaser-dist
|
||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm run build
|
- npm run build
|
||||||
|
- npm version {{ .Version }} --no-git-tag-version
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: default
|
- id: default
|
||||||
|
|||||||
Reference in New Issue
Block a user