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
22
33permissions :
44 contents : write
5+ id-token : write
56
67on :
78 push :
89 tags :
910 - ' v*'
11+
1012jobs :
1113 release :
1214 runs-on : ubuntu-latest
2123 - name : Set node
2224 uses : actions/setup-node@v4
2325 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
2532
2633 - run : npx changelogithub
2734 env :
2835 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 5454 "prepare:fixtures" : " nuxi prepare .playground && nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/i18n && nuxi prepare test/fixtures/content-v3" ,
5555 "dev:build" : " nuxi build .playground" ,
5656 "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 \" " ,
5858 "test" : " pnpm run prepare:fixtures && vitest" ,
5959 "typecheck" : " tsc --noEmit" ,
6060 "test:attw" : " attw --pack"
You can’t perform that action at this time.
0 commit comments