Skip to content

Commit e8c2361

Browse files
committed
ci(perf): dropping artifact download step - release step re-builds distribution
Now with the prepublishOnly script, the build will be re-accomplished and so do not use the 1st build from the pipeline because the 2nd build will have the proper version in the packed distribution.
1 parent 6ec96b8 commit e8c2361

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/cicd.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,12 @@ jobs:
103103
with:
104104
node-version: 16
105105
cache: 'npm'
106-
- name: Download bundle
107-
uses: actions/download-artifact@v2
108-
with:
109-
name: dist-bundle
110-
path: dist/
111-
- run: npm ci --prefer-offline --no-fund --no-audit
112-
- run: npx semantic-release
106+
107+
- name: Install dependencies
108+
run: npm ci --prefer-offline --no-fund --no-audit
109+
110+
- name: Run semantic-release
111+
run: npx semantic-release
113112
env:
114113
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115114
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)