From 881a30cdf5f89064ca9419667914036a32a72f53 Mon Sep 17 00:00:00 2001 From: David Cheung Date: Thu, 8 Sep 2022 18:54:53 -0400 Subject: [PATCH] allow dist folder to be published --- .github/workflows/publish-clients.yml | 2 ++ 1 file changed, 2 insertions(+) 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 }}