File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed
Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change 4747 - name : Checkout
4848 uses : actions/checkout@v4
4949 with :
50- ref : ${{ github.event. inputs.target_branch }}
50+ ref : ${{ inputs.target_branch }}
5151
5252 - name : Remove Vitest If Needed
5353 if : ${{ matrix.node-version == '16.x' }}
@@ -93,24 +93,40 @@ jobs:
9393 jq 'del(.publishConfig.provenance)' "$filename" > temp.json && mv temp.json "$filename"
9494 done
9595
96- - name : Commit Change
96+ - name : Config Git
9797 run : |
9898 git config --global user.email "[email protected] " 9999 git config --global user.name "Suites e2e"
100+
101+ - name : Commit Provenance Change
102+ run : |
100103 git add .
101104 git commit -am "remove provenance"
102105
106+ - name : Version Packages
107+ run : |
108+ lerna version --yes \
109+ --no-changelog \
110+ --allow-branch ${{ inputs.target_branch }} \
111+ --no-git-tag-version \
112+ --no-push \
113+ --force-publish \
114+ --no-commit-hooks \
115+ --conventional-commits
116+
117+ - name : Commit Packages Versions
118+ run : |
119+ git add .
120+ git commit -am "bump versions"
121+
103122 - name : Publish Packages
104123 run : |
105124 yarn lerna publish from-package --yes \
106125 --no-git-tag-version \
107126 --no-push \
108- --no-changelog \
109- --no-commit-hooks \
110127 --no-git-reset \
111128 --exact \
112- --force-publish \
113- --dist-tag ci
129+ --dist-tag e2e
114130
115131 - name : Setup and Test
116132 run : |
@@ -122,6 +138,8 @@ jobs:
122138 run : |
123139 rm -rf packages
124140 rm -rf node_modules
141+ rm yarn.lock
142+ rm package.json
125143
126144 - name : Install Dependencies
127145 run : |
You can’t perform that action at this time.
0 commit comments