File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- name : Checkout repository
11
11
uses : actions/checkout@v4
12
+ with :
13
+ token : ${{ secrets.GITHUB_TOKEN }}
14
+ ref : main
15
+
16
+ - name : Setup Git identity
17
+ run : |
18
+ git config user.name "bot-harness"
19
+ git config user.email "[email protected] "
12
20
13
21
- name : Setup pnpm
14
22
uses : pnpm/action-setup@v4
15
23
16
- - name : Install and build dependencies
24
+ - name : Install dependencies
25
+ run : pnpm install
26
+
27
+ - name : Bump version for packages/ui
17
28
run : |
18
- pnpm install
19
- pnpm build
29
+ cd packages/ui
30
+ pnpm version patch --no-git-tag-version
31
+ cd ../..
32
+ git add packages/ui/package.json
33
+ git commit -m "chore(ui): bump version"
34
+ git push origin main
35
+
36
+ - name : Build packages
37
+ run : pnpm build
20
38
21
39
- name : Authenticate to npm
22
- run : |
23
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
40
+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
24
41
25
42
- name : Publish packages to npm
26
43
run : pnpm publish:all
You can’t perform that action at this time.
0 commit comments