Fix node-release workflow to add lib to the packages

This commit is contained in:
Shivam Mathur 2021-12-17 18:34:16 +05:30
parent 7117491f1a
commit cca8ad3588
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -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')"