diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index b9bc270..90156b6 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -29,7 +29,9 @@ jobs: node-version: 22 - name: Remove package versions from package-lock.json for caching - run: jq 'del(.version, .packages[""].version)' package-lock.json > package-lock.json + run: | + jq 'del(.version, .packages[""].version)' package-lock.json > package-lock.temp.json + mv package-lock.temp.json package-lock.json - name: Cache dependencies id: cache