File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 60
60
run : yarn build
61
61
62
62
- name : publish to npm
63
- run : ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git
63
+ run : ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git --force-publish
64
64
env :
65
65
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
66
66
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 49
49
--no-git-tag-version \
50
50
--pre-dist-tag dev \
51
51
--allow-branch ${current_branch}
52
+ --force-publish
52
53
53
54
env :
54
55
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ jobs:
35
35
- uses : actions/checkout@v4
36
36
with :
37
37
fetch-depth : 0
38
-
38
+
39
39
- name : Setup Node.js environment
40
40
41
41
with :
42
42
node-version-file : ' .nvmrc'
43
43
cache : ' yarn'
44
-
44
+
45
45
- name : Install
46
46
run : |
47
47
npm install -g npm
99
99
run : yarn build
100
100
101
101
- name : publish to npm
102
- run : ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git
102
+ run : ${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git --force-publish
103
103
env :
104
104
GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
105
105
NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
@@ -116,4 +116,3 @@ jobs:
116
116
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
117
117
118
118
await addIssueComments({ github, context })
119
-
You can’t perform that action at this time.
0 commit comments