- [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:
2026-03-11 21:52:13 +00:00
parent b2c0a13735
commit 0249d13265
3 changed files with 4 additions and 8 deletions
-8
View File
@@ -59,14 +59,6 @@ jobs:
node-version: '24'
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
if: steps.version.outputs.version_tag != ''
uses: goreleaser/goreleaser-action@v6
+1
View File
@@ -1,2 +1,3 @@
node_modules
.envrc
.goreleaser-dist
+3
View File
@@ -3,10 +3,13 @@
project_name: cloudflare-crawl-mcp
dist: .goreleaser-dist
before:
hooks:
- npm ci
- npm run build
- npm version {{ .Version }} --no-git-tag-version
archives:
- id: default