Skip to content

Commit

Permalink
fix yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisnsns committed Dec 20, 2023
1 parent 123b790 commit 4cda70c
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 4cda70c

Please sign in to comment.