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