File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9+
10+ jobs :
11+ release :
12+ name : Release
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ node-version : [18]
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v2
20+ - uses : pnpm/action-setup@v2
21+ with :
22+ version : 8
23+ - name : Use Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@v3
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+ cache : ' pnpm'
28+ - name : Install dependencies
29+ run : pnpm install
30+
31+ - name : Create Release Pull Request
32+ uses : changesets/action@v1
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ with :
36+ # Note: pnpm install after versioning is necessary to refresh lockfile
37+ version : pnpm run version
38+ commit : " [ci] release"
39+ title : " [ci] release"
40+
You can’t perform that action at this time.
0 commit comments