File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
push :
6
6
branches : [ main ]
7
+ tags : [ '@microsoft/kiota-abstractions@*' ]
7
8
pull_request :
8
9
9
10
jobs :
95
96
96
97
97
98
publish-npm :
98
- if : " ${{ github.event_name == 'push' && github. ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'chore: release main') }} "
99
+ if : startsWith( github.ref, 'refs/tags/')
99
100
needs : [build, check-typescript-version-matrix]
100
101
environment :
101
102
name : production_feed
@@ -104,14 +105,8 @@ jobs:
104
105
- uses : actions/checkout@v4
105
106
- uses : actions/setup-node@v4
106
107
with :
107
- node-version : 20
108
+ node-version : 22
108
109
registry-url : https://registry.npmjs.org/
109
- - run : |
110
- git config --global user.name '${GITHUB_ACTOR}'
111
- git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
112
- env:
113
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
114
- GITHUB_ACTOR: ${{ secrets.GIT_USERNAME }}
115
110
- run : npm ci
116
111
- run : npm run build
117
112
- run : npx lerna publish from-package --no-push --yes
You can’t perform that action at this time.
0 commit comments