File tree Expand file tree Collapse file tree 4 files changed +1585
-4
lines changed
Expand file tree Collapse file tree 4 files changed +1585
-4
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 release :
10- uses : sxzz/workflows/.github/workflows/release.yml@v1
11- with :
12- publish : true
1310 permissions :
14- contents : write
1511 id-token : write
12+ contents : write
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Install pnpm
20+ uses : pnpm/action-setup@v4
21+
22+ - name : Set node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : lts/*
26+ cache : pnpm
27+ registry-url : ' https://registry.npmjs.org'
28+
29+ - name : Install
30+ run : pnpm install
31+
32+ # Ensure npm 11.5.1 or later is installed
33+ - name : Update NPM
34+ run : npm install -g npm@latest
35+
36+ - name : Determine NPM tag
37+ run : |
38+ if [[ "${{ github.ref_name }}" == *"beta"* ]] || [[ "${{ github.ref_name }}" == *"alpha"* ]]; then
39+ echo "NPM_TAG=beta" >> $GITHUB_ENV
40+ else
41+ echo "NPM_TAG=latest" >> $GITHUB_ENV
42+ fi
43+
44+ - name : Publish
45+ run : pnpm -r publish --tag ${{ env.NPM_TAG }} --access public --no-git-checks
46+
47+ - name : GitHub release
48+ run : pnpm dlx conventional-github-releaser -p vuetify
49+ env :
50+ CONVENTIONAL_GITHUB_RELEASER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2828 },
2929 "devDependencies" : {
3030 "bumpp" : " catalog:" ,
31+ "conventional-github-releaser" : " catalog:" ,
3132 "eslint" : " catalog:" ,
3233 "eslint-config-vuetify" : " catalog:"
3334 }
You can’t perform that action at this time.
0 commit comments