File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
inputs :
6
6
releaseType :
7
- description : ' Release type - major, minor or patch'
7
+ description : " Release type - major, minor or patch"
8
8
required : true
9
- default : ' patch'
9
+ default : " patch"
10
10
distTag :
11
11
description : ' NPM tag (e.g. use "next" to release a test version)'
12
12
required : true
13
- default : ' latest'
13
+ default : " latest"
14
14
15
15
env :
16
16
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
with :
24
- ref : ' main'
24
+ ref : " main"
25
25
fetch-depth : 0
26
26
- uses : actions/setup-node@v3
27
27
with :
31
31
npm set registry "https://registry.npmjs.org/"
32
32
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
33
33
npm whoami
34
- - name : Git Setup
35
- run : |
36
- git config user.name $GITHUB_ACTOR
37
- git config user.email gh-actions-${GITHUB_ACTOR}@github.com
38
- git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
39
34
- name : Install Dependencies
40
35
run : npm ci
41
36
- name : Release
You can’t perform that action at this time.
0 commit comments