File tree Expand file tree Collapse file tree 1 file changed +28
-28
lines changed
Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Original file line number Diff line number Diff line change 11name : Publish
22on :
3- workflow_run :
4- workflows : ["CI" ]
5- types :
6- - completed
7- push :
8- branches :
9- - " main"
3+ workflow_run :
4+ workflows : ['CI' ]
5+ types :
6+ - completed
7+ push :
8+ branches :
9+ - ' main'
1010
1111concurrency : ${{ github.workflow }}-${{ github.ref }}
1212
1313jobs :
14- publish :
15- if : ${{ github.event.workflow_run.conclusion == 'success' }}
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@v3
19- - uses : pnpm/action-setup@v2
20- with :
21- version : 7
22- - uses : actions/setup-node@v3
23- with :
24- node-version : 16 .x
25- cache : " pnpm"
14+ publish :
15+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v3
19+ - uses : pnpm/action-setup@v2
20+ with :
21+ version : 8
22+ - uses : actions/setup-node@v3
23+ with :
24+ node-version : 20 .x
25+ cache : ' pnpm'
2626
27- - run : pnpm install --frozen-lockfile
28- - name : Create Release Pull Request or Publish
29- id : changesets
30- uses : changesets/action@v1
31- with :
32- publish : pnpm run release
33- env :
34- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
27+ - run : pnpm install --frozen-lockfile
28+ - name : Create Release Pull Request or Publish
29+ id : changesets
30+ uses : changesets/action@v1
31+ with :
32+ publish : pnpm run release
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments