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 : 22.x
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 54
54
"prepare:fixtures" : " nuxi prepare .playground && nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/i18n && nuxi prepare test/fixtures/content-v3" ,
55
55
"dev:build" : " nuxi build .playground" ,
56
56
"dev:prepare" : " nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build && nuxi prepare .playground" ,
57
- "release" : " pnpm build && bumpp && pnpm -r publish " ,
57
+ "release" : " pnpm build && bumpp -x \" npx changelogen --output=CHANGELOG.md \" " ,
58
58
"test" : " pnpm run prepare:fixtures && vitest" ,
59
59
"typecheck" : " tsc --noEmit" ,
60
60
"test:attw" : " attw --pack"
You can’t perform that action at this time.
0 commit comments