From 808f3b451267b2e45d5d03ce7a9ca6a15a15efed Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Wed, 13 Mar 2024 23:49:01 +0100 Subject: [PATCH] ci(release-please): Prune npm-shrinkwrap before publishing Resolves https://github.com/SAP/ui5-linter/issues/24 --- .github/workflows/release-please.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2df026f8..80e679b7 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -37,6 +37,10 @@ jobs: run: npm ci - name: Run build run: npm run build + - name: Pruning devDependencies + run: npm prune --production + - name: Updating npm-shrinkwrap.json + run: npm shrinkwrap - name: Publish to NPM env: NPM_TOKEN: ${{secrets.NPM_UI5BOT}}