File tree Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Expand file tree Collapse file tree 1 file changed +13
-17
lines changed Original file line number Diff line number Diff line change 1- name : release
2-
3- on :
4- push :
5- branches :
6- - main
1+ name : Release
72
83permissions :
94 contents : write
105
6+ on :
7+ push :
8+ tags :
9+ - ' v*'
1110jobs :
1211 release :
1312 runs-on : ubuntu-latest
14- if : ${{ github.repository_owner == 'nuxt' && github.event_name == 'push' }}
15- permissions :
16- id-token : write
1713 steps :
1814 - uses : actions/checkout@v4
19- - uses : pnpm/action-setup@v4
20- - name : Install Node.js
21- uses : actions/setup-node@v4
2215 with :
23- node-version : 22
24- cache : ' pnpm'
25- - run : pnpm install
16+ fetch-depth : 0
17+
18+ - name : Install pnpm
19+ uses : pnpm/action-setup@v4
2620
27- - name : Prepare build environment
28- run : pnpm dev:prepare
21+ - name : Set node
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version-file : ' package.json'
2925
3026 - run : npx changelogithub
3127 env :
You can’t perform that action at this time.
0 commit comments