File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -41,17 +41,20 @@ jobs:
41
41
- name : Build the project
42
42
run : pnpm run build
43
43
44
+ - name : Set up Git user
45
+ run : |
46
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
47
+ git config --global user.name "github-actions[bot]"
48
+
44
49
- name : Bump version
45
50
id : versioning
46
51
run : |
47
- pnpm version ${{ github.event.inputs.strategy }}
52
+ npm version ${{ github.event.inputs.strategy }}
48
53
VERSION=$(node -p "require('./package.json').version")
49
54
echo "current-version=$VERSION" >> $GITHUB_OUTPUT
50
55
51
56
- name : Commit and tag release
52
57
run : |
53
- git config user.name github-actions[bot]
54
- git config user.email 41898282+github-actions[bot]@users.noreply.github.com
55
58
git add .
56
59
git commit -m "chore(release): v${{ steps.versioning.outputs.current-version }}"
57
60
git tag v${{ steps.versioning.outputs.current-version }}
90
93
run : npm publish --access public
91
94
env :
92
95
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
93
-
You can’t perform that action at this time.
0 commit comments