diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fced620..e614e68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,8 +102,14 @@ jobs: node-version: latest registry-url: https://npm.pkg.github.com/ + - name: Configure git + run: | + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + - name: Update package.json - run: npm version ${{ needs.setup_release.outputs.release_version }} --no-git-tag-version + run: | + npm version ${{ needs.setup_release.outputs.release_version }} - name: Install dependencies run: npm install @@ -113,8 +119,6 @@ jobs: - name: Commit run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" git add . git commit -m "Release ${{ needs.setup_release.outputs.release_version }}" diff --git a/.npmignore b/.npmignore index 3acfcc8..18fb19c 100644 --- a/.npmignore +++ b/.npmignore @@ -1,13 +1,9 @@ # Ignore JetBrains IDE files .idea/ -# Ignore node_modules -node_modules/ -package.json -package-lock.json - # Ignore test coverage junit.xml coverage/ # this file must not have dist or it will not be published +!dist/