From 6271949d38c6541641c91a3bcb2e0b4beed0f51c Mon Sep 17 00:00:00 2001 From: gsilvestrin Date: Mon, 17 Jul 2023 16:33:43 -0700 Subject: [PATCH] feat(node): Update package-lock.json on each release (#302) --- .github/workflows/make-release-commit.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/make-release-commit.yml b/.github/workflows/make-release-commit.yml index 8a18fe0a..8f9f796b 100644 --- a/.github/workflows/make-release-commit.yml +++ b/.github/workflows/make-release-commit.yml @@ -45,6 +45,13 @@ jobs: run: | pip install bump2version bumpversion --verbose ${{ inputs.part }} + - name: Update package-lock.json file + run: | + npm install + git add package-lock.json + # Add this change to the commit created by bumpversion + git commit --amend --no-edit + working-directory: node - name: Push new version and tag if: ${{ inputs.dry_run }} == "false" uses: ad-m/github-push-action@master