File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 18
18
- name : Setup Node.js
19
19
uses : actions/setup-node@v1
20
20
with :
21
- node-version : 12
21
+ node-version : 17
22
22
- name : Install jq yq
23
23
run : |
24
24
sudo wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O /usr/bin/jq &&\
37
37
working-directory : ./.release
38
38
env :
39
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
41
40
run : |
42
41
npm install
43
42
npx semantic-release
43
+ - name : Publish
44
+ working-directory : ./
45
+ env :
46
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
47
+ run : |
48
+ git config --global user.email "[email protected] "
49
+ git config --global user.name "nkmr-jp"
44
50
npm run sync-version
45
51
npm publish --access=public
52
+ git push
Original file line number Diff line number Diff line change 1
1
.idea
2
2
.github
3
3
.semver.yml
4
- tmp
4
+ tmp
5
+ .release
6
+ gitmoji-semver
Original file line number Diff line number Diff line change
1
+ //registry.npmjs.org/:_authToken = ${ NPM_TOKEN }
You can’t perform that action at this time.
0 commit comments