diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e689d52cb..111883ca2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,9 +30,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} YALESITES_BUILD_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }} run: npx semantic-release - - name: Reset branch to prior commit - run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - git reset --hard $GITHUB_SHA - git push --force + - name: Remove Compiled Component Library + uses: EndBug/add-and-commit@v9 + with: + author_name: github-actions[bot] + author_email: github-actions[bot]@users.noreply.github.com + remove: "--cached -r node_modules" + message: "build: removed compiled component library from git"