File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 8
8
publish :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
- uses : actions/setup-node@v2
13
13
with :
14
14
node-version : 18
@@ -23,10 +23,12 @@ jobs:
23
23
- name : Prepack
24
24
run : npm run prepack
25
25
- name : Configuring Git
26
- run : git config --global user.name "GitHub CD bot" && git config --global user.email "github-cd-bot@example .com"
26
+ run : git config --global user.name "GitHub CD bot" && git config --global user.email "github-cd-bot@users.noreply.github .com"
27
27
- name : Update package version
28
- run : npm version ${{ github.event.release.tag_name }}
29
- - name : Publish package to NPM
30
- run : npm publish
31
- env :
32
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
28
+ run : npm --no-git-tag-version version ${{ github.event.release.tag_name }}
29
+ # - name: Publish package to NPM
30
+ # run: npm publish
31
+ # env:
32
+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33
+ - name : Push changes to GitHub
34
+ run : git commit -am "Release ${{ github.event.release.tag_name }}" && git push
You can’t perform that action at this time.
0 commit comments