Skip to content

Commit

Permalink
chore(ci): build rn core sdk before publishing (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
1abhishekpandey authored Feb 19, 2024
1 parent 433cc74 commit eb1e03f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy to NPM
on:
workflow_dispatch:
workflow_run:
workflows: ["Publish new github release"]
workflows: ['Publish new github release']
types:
- completed

Expand Down Expand Up @@ -50,6 +50,10 @@ jobs:
echo "last_version=$(echo $LAST_VERSION)" >> $GITHUB_ENV
echo "DATE=$(date)" >> $GITHUB_ENV
- name: Build sdk package
run: |
nx run rudder-sdk-react-native:build
- name: Build & Publish affected packages
run: |
npm run deploy:npm -- --base=$last_version --head=$current_version
Expand Down

0 comments on commit eb1e03f

Please sign in to comment.