File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
release :
16
- permissions :
16
+ permissions :
17
17
contents : write
18
18
packages : write
19
19
@@ -37,22 +37,22 @@ jobs:
37
37
38
38
- name : Install dependencies
39
39
run : yarn install --ignore-engines
40
-
40
+
41
41
- name : Initialize Git user
42
42
run : |
43
43
git config --global user.email "${{ github.actor }}@users.noreply.github.com }}"
44
44
git config --global user.name "${{ github.actor }}"
45
-
45
+
46
46
- name : Initialize NPM config
47
47
run : |
48
- npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
48
+ npm config set //registry.npmjs.org/:_authToken $NPM_RELEASE
49
49
env :
50
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
50
+ NPM_RELEASE : ${{ secrets.NPM_RELEASE }}
51
51
52
52
- name : Make the release
53
53
env :
54
54
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
55
+ NPM_RELEASE : ${{ secrets.NPM_RELEASE }}
56
56
run : |
57
57
# When all commits since the latest major tag should be added to the changelog, use --git.tagExclude='*[-]*'
58
58
npx release-it ${{github.event.inputs.type}} --git.tagExclude='*[-]*' --ci --verbose
You can’t perform that action at this time.
0 commit comments