File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-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+ permissions :
9+ id-token : write # OIDC
10+ contents : read
11+
12+ concurrency : ${{ github.workflow }}-${{ github.ref }}
13+
14+ jobs :
15+ release :
16+ name : Release
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout Repo
20+ uses : actions/checkout@v4
21+
22+ - name : Install pnpm
23+ uses : pnpm/action-setup@v4
24+
25+ - name : Install Node.js
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version-file : .node-version
29+ cache : " pnpm"
30+
31+ - name : Install dependencies
32+ run : pnpm install
33+
34+ - name : Create Release Pull Request or Publish to npm
35+ id : changesets
36+ uses : changesets/action@v1
37+ with :
38+ # This expects you to have a script called release which does a build for your packages and calls changeset publish
39+ publish : pnpm release
You can’t perform that action at this time.
0 commit comments