Skip to content

Commit

Permalink
fix: semantic release
Browse files Browse the repository at this point in the history
Signed-off-by: D4ryl00 <[email protected]>
  • Loading branch information
D4ryl00 committed May 22, 2024
1 parent c8a608c commit 5f19475
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup asdf
uses: asdf-vm/actions/setup@v3

- name: Setup Node version
run: |
asdf plugin add nodejs
asdf install nodejs
echo "node_version=$(asdf current nodejs | xargs | cut -d ' ' -f 2)" >> $GITHUB_ENV
- name: Set nodejs as global exec
run: |
asdf global nodejs ${{ env.node_version }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
working_directory: ./mobile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 5f19475

Please sign in to comment.