File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ - test-canary-release # Test branch for canary releases
78
89concurrency : ${{ github.workflow }}-${{ github.ref }}
910
3940 id : changesets
4041 uses : changesets/action@v1
4142 with :
42- publish : pnpm release
43+ publish : ${{ github.ref == 'refs/heads/master' && ' pnpm release' || 'pnpm release:canary' }}
4344 commit : " chore(release): version packages"
4445 title : " chore(release): version packages"
4546 env :
Original file line number Diff line number Diff line change 1414 "lint:check" : " pnpm -r run lint:check" ,
1515 "format" : " prettier --write ." ,
1616 "format:check" : " prettier --check ." ,
17- "release" : " pnpm build && changeset publish"
17+ "release" : " pnpm build && changeset publish" ,
18+ "release:canary" : " pnpm build && changeset publish --tag canary"
1819 },
1920 "repository" : {
2021 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments