Skip to content

Commit

Permalink
build: reset git tree before publish to avoid EUNCOMMIT lerna error
Browse files Browse the repository at this point in the history
  • Loading branch information
emuvente committed Nov 15, 2024
1 parent a257118 commit 8368397
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,15 @@ jobs:
run: npm run build

# Upload static asssets
- name: upload static assets
- name: Upload static assets
uses: ./.github/actions/upload-static-assets
with:
source_dir: "dist/assets"

# Reset the git working directory to the last commit before publishing with lerna
- name: Reset git working directory
run: git reset --hard HEAD

# Tag release and publish to NPM
- name: Publish release
run: npm run publish-release -- --yes --no-verify-access

0 comments on commit 8368397

Please sign in to comment.