Skip to content

Commit b5afa5d

Browse files
committed
chore: update release script
1 parent 49d777e commit b5afa5d

2 files changed

Lines changed: 7 additions & 31 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,15 @@
11
name: Release
22

3-
permissions:
4-
contents: write
5-
id-token: write
6-
73
on:
84
push:
95
tags:
106
- 'v*'
117

128
jobs:
139
release:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v4
17-
with:
18-
fetch-depth: 0
19-
20-
- name: Install pnpm
21-
uses: pnpm/action-setup@v4
22-
23-
- name: Set node
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: latest
27-
cache: pnpm
28-
registry-url: 'https://registry.npmjs.org'
29-
30-
- name: Force Set pnpm Registry
31-
run: pnpm config set registry https://registry.npmjs.org
32-
33-
- run: npx changelogithub
34-
env:
35-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
36-
37-
- name: Install Dependencies
38-
run: pnpm i
39-
40-
- run: pnpm publish -r --access public --no-git-checks
10+
uses: sxzz/workflows/.github/workflows/release.yml@main
11+
with:
12+
publish: true
13+
permissions:
14+
contents: write
15+
id-token: write

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ packages/devtools/client/public/discovery/index.html
6868

6969
.context
7070
.claude
71+
.ghfs

0 commit comments

Comments
 (0)