From 4cda70c6562ed4ae12bedd3a2158164e8f9ffb54 Mon Sep 17 00:00:00 2001 From: alexisnsns Date: Wed, 20 Dec 2023 15:21:27 -0500 Subject: [PATCH] fix yml file --- .github/workflows/npm-publish.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index eec14bc..7f9e646 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,22 +17,15 @@ jobs: node-version: "16" registry-url: "https://registry.npmjs.org" - - name: Install dependencies for JS SDK + - name: Install dependencies run: npm install - working-directory: packages/sdk/js - name: Publish JS SDK to NPM - run: npm publish - working-directory: packages/sdk/js + run: npm publish --workspace=sdk/js env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Install dependencies for React components - run: npm install - working-directory: packages/ui/lib - - name: Publish React components to NPM - run: npm publish - working-directory: packages/ui/lib + run: npm publish --workspace=ui/lib env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}