File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ name: Release
2
2
3
3
permissions :
4
4
contents : write
5
+ id-token : write
5
6
6
7
on :
7
8
push :
8
9
tags :
9
10
- ' v*'
11
+
10
12
jobs :
11
13
release :
12
14
runs-on : ubuntu-latest
21
23
- name : Set node
22
24
uses : actions/setup-node@v4
23
25
with :
24
- node-version-file : ' package.json'
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
25
32
26
33
- run : npx changelogithub
27
34
env :
28
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
Original file line number Diff line number Diff line change 50
50
"dev:prepare" : " nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && pnpm run prepare:fixtures" ,
51
51
"typecheck" : " vue-tsc --noEmit" ,
52
52
"bump" : " bumpp package.json --commit --push --tag" ,
53
- "release" : " pnpm build && bumpp -x \" npx changelogen --output=CHANGELOG.md \" && pnpm publish " ,
53
+ "release" : " pnpm build && pnpm test && bumpp -r - x \" pnpm run changelog \" --all " ,
54
54
"lint" : " eslint ." ,
55
55
"lint:fix" : " eslint . --fix" ,
56
56
"test" : " pnpm dev:prepare && vitest --run" ,
You can’t perform that action at this time.
0 commit comments