File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 80
80
run : |
81
81
git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)"
82
82
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
83
- - name : Pull git tags (needed for lerna / semantic release to correctly version)
84
- run : git fetch --prune --unshallow --tags
85
83
- uses : actions/setup-node@v2
86
84
with :
87
85
node-version : ' 16.x'
99
97
run : yarn --immutable
100
98
- name : Authenticate with Registry
101
99
run : |
102
- yarn logout
100
+ yarn npm logout
103
101
echo "registry=http://registry.npmjs.org/" >> .npmrc
104
102
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
105
103
npm whoami
@@ -110,5 +108,6 @@ jobs:
110
108
run : yarn release:ci
111
109
env :
112
110
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
111
+ NPM_CONFIG_REGISTRY : https://registry.npmjs.org/
113
112
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
114
113
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 63
63
"dependencies" : {
64
64
"pixelmatch" : " ^5.2.1" ,
65
65
"pngjs" : " ^6.0.0"
66
+ },
67
+ "publishConfig" : {
68
+ "access" : " public"
66
69
}
67
70
}
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ "branches" : [ "main" ] ,
2
3
"plugins" : [
3
4
[ "@semantic-release/commit-analyzer" , {
4
5
"releaseRules" : [
You can’t perform that action at this time.
0 commit comments