File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - release
5
+
6
+ jobs :
7
+ semantic_release :
8
+ runs-on :
9
+ - ubuntu-latest
10
+
11
+ steps :
12
+ - name : Set up git
13
+ env :
14
+ GH_TOKEN : ${{ github.token }}
15
+ run : |
16
+ git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
17
+ git config --global user.name "${GITHUB_ACTOR}"
18
+
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 0
22
+ fetch-tags : false
23
+
24
+ - name : Set up pnpm
25
+ uses : pnpm/action-setup@v4
26
+ with :
27
+ run_install : false
28
+
29
+ - name : Set up Node.js
30
+ uses : actions/setup-node@v4
31
+ with :
32
+ node-version-file : ' package.json'
33
+ cache : ' pnpm'
34
+
35
+ - name : Install dependencies # Install only the dependencies required for the release which are at root.
36
+ run : pnpm install --workspace-root --prod=false
37
+
38
+ - name : Run automated version
39
+ run : pnpm run release
40
+ env :
41
+ RELEASE_SCM_BASE : ${{github.event.before}} # the base is commit before merge
You can’t perform that action at this time.
0 commit comments