diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e7e8da2f..3eaba422 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -35,6 +35,9 @@ jobs: git config --global user.name "github-actions" git config --global user.email "github-actions@github.com" + - name: "Clean working directory" + run: git clean -fdx + - name: "Bump patch version" run: npm version patch @@ -63,4 +66,4 @@ jobs: • Published by ${{ github.actor }} ``` env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}