File tree Expand file tree Collapse file tree 7 files changed +710
-8
lines changed Expand file tree Collapse file tree 7 files changed +710
-8
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/@changesets/config@2.3.1/schema.json" ,
3+ "changelog" : [
4+ " @changesets/changelog-github" ,
5+ { "repo" : " zhiyuanzmj/unplugin-vue-jsx-vapor" }
6+ ],
7+ "commit" : false ,
8+ "fixed" : [],
9+ "linked" : [],
10+ "access" : " public" ,
11+ "baseBranch" : " main" ,
12+ "updateInternalDependencies" : " patch" ,
13+ "ignore" : [" playground*" ]
14+ }
Original file line number Diff line number Diff line change 1+ ---
2+ ' unplugin-vue-jsx-vapor ' : minor
3+ ---
4+
5+ init vapor
Original file line number Diff line number Diff line change @@ -2,23 +2,51 @@ name: Release
22
33on :
44 push :
5- tags :
6- - ' v*'
5+ branches :
6+ - main
7+ - beta
8+
9+ concurrency : ${{ github.workflow }}-${{ github.ref }}
710
811jobs :
912 release :
13+ name : Release
1014 runs-on : ubuntu-latest
1115 permissions :
16+ id-token : write
17+ actions : write
18+ pull-requests : write
19+ statuses : write
1220 contents : write
21+ issues : write
22+ security-events : write
23+ pages : read
24+
1325 steps :
14- - uses : actions/checkout@v3
26+ - name : Checkout Repo
27+ uses : actions/checkout@v4
1528 with :
1629 fetch-depth : 0
1730
18- - uses : actions/setup-node@v3
31+ - uses : pnpm/action-setup@v4.0.0
32+
33+ - name : Setup Node.js
34+ uses : actions/setup-node@v4
1935 with :
2036 node-version : lts/*
37+ cache : pnpm
2138
22- - run : npx changelogithub
39+ - name : Install Dependencies
40+ run : pnpm i --frozen-lockfile
41+
42+ - name : Create Release Pull Request or Publish to npm
43+ id : changesets
44+ uses : changesets/action@v1
45+ with :
46+ commit : ' chore: bump versions'
47+ title : ' chore: bump versions'
48+ publish : pnpm run publish
2349 env :
24- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
50+ GITHUB_TOKEN : ${{ secrets.GIT_TOKEN }}
51+ NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
52+ NPM_CONFIG_PROVENANCE : true
Original file line number Diff line number Diff line change 135135 "devDependencies" : {
136136 "@antfu/eslint-config" : " ^2.21.1" ,
137137 "@babel/types" : " ^7.24.7" ,
138+ "@changesets/changelog-github" : " ^0.5.0" ,
139+ "@changesets/cli" : " ^2.27.6" ,
138140 "@nuxt/kit" : " ^3.12.2" ,
139141 "@nuxt/schema" : " ^3.12.2" ,
140142 "@sxzz/eslint-config" : " ^3.13.0" ,
Original file line number Diff line number Diff line change 11{
2+ "name" : " playground" ,
23 "private" : true ,
34 "type" : " module" ,
45 "scripts" : {
You can’t perform that action at this time.
0 commit comments