Skip to content

Commit

Permalink
ci: archive react native package
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Nov 13, 2023
1 parent af67ee9 commit e43bbce
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish-react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ jobs:
working-directory: libs/sdk-react-native
run: yarn

- name: Pack for archival
working-directory: libs/sdk-react-native
run: yarn pack --filename sdk-react-native.tgz

- name: Archive the package
uses: actions/upload-artifact@v3
with:
name: react-native-${{ inputs.package-version || '0.0.2' }}
path: libs/sdk-react-native/sdk-react-native.tgz

- name: Publish package to npm
if: ${{ inputs.publish }}
working-directory: libs/sdk-react-native
Expand Down

0 comments on commit e43bbce

Please sign in to comment.