From 2943719ea73e08bac125e778cd1bb54480aaedb4 Mon Sep 17 00:00:00 2001 From: KobeN <7845001+kobenguyent@users.noreply.github.com> Date: Tue, 27 Feb 2024 06:20:12 +0100 Subject: [PATCH] fix: missing file when doing git add --- .github/workflows/publish-node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-node.js.yml b/.github/workflows/publish-node.js.yml index 9661d31..c37554b 100644 --- a/.github/workflows/publish-node.js.yml +++ b/.github/workflows/publish-node.js.yml @@ -27,7 +27,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # push the version changes to GitHub - - run: git add package.json && git commit -m'update version' && git push + - run: git add package.json package-lock.json && git commit -m'update version' && git push env: # The secret is passed automatically. Nothing to configure. github-token: ${{ secrets.GITHUB_TOKEN }}