Skip to content

Commit e01a198

Browse files
silverwindclaude
andcommitted
Update publish target and add release workflow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 067848f commit e01a198

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/release.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags: ["*"]
6+
7+
permissions:
8+
id-token: write
9+
contents: read
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@v6
19+
- uses: pnpm/action-setup@v4
20+
- uses: actions/setup-node@v6
21+
with:
22+
cache: pnpm
23+
node-version: latest
24+
registry-url: "https://registry.npmjs.org"
25+
- run: make deps
26+
- run: make build
27+
- run: make publish

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ $(DIST_FILES): $(SOURCE_FILES) pnpm-lock.yaml vite.config.ts
3434

3535
.PHONY: publish
3636
publish: node_modules
37-
git push -u --tags origin master
3837
pnpm publish --no-git-checks
3938

4039
.PHONY: update

0 commit comments

Comments
 (0)