From cca8ad35884eb4aedca22a35c5fa775126ab4865 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 17 Dec 2021 18:34:16 +0530 Subject: [PATCH] Fix node-release workflow to add lib to the packages --- .github/workflows/node-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index 20ea6689..b17babd7 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -41,8 +41,11 @@ jobs: node-version: '16.x' registry-url: https://registry.npmjs.org - - name: Install dependencies - run: npm install + - name: Install dependencies and add lib + run: | + npm install + npm run build + sed -i -e '/lib\//d' .gitignore - name: Publish to NPM if: "!contains(github.event.inputs.skip, 'skip-npm')"