diff --git a/.github/workflows/publish-clients.yml b/.github/workflows/publish-clients.yml index 2681618..a552fb5 100644 --- a/.github/workflows/publish-clients.yml +++ b/.github/workflows/publish-clients.yml @@ -31,6 +31,8 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: cd client; npm install - run: cd client; npm run build + ## Generated code comes with .gitignore ignoring `dist/` folder, .npmignore will fallback to .gitignore if not exist + - run: echo "" > client/.npmignore - run: cd client; npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}