Skip to content

Commit

Permalink
ci(perf): dropping artifact download step - release step re-builds di…
Browse files Browse the repository at this point in the history
…stribution

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.
  • Loading branch information
codejedi365 committed Nov 6, 2021
1 parent 6ec96b8 commit e8c2361
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,12 @@ jobs:
with:
node-version: 16
cache: 'npm'
- name: Download bundle
uses: actions/download-artifact@v2
with:
name: dist-bundle
path: dist/
- run: npm ci --prefer-offline --no-fund --no-audit
- run: npx semantic-release

- name: Install dependencies
run: npm ci --prefer-offline --no-fund --no-audit

- name: Run semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e8c2361

Please sign in to comment.