ci(release): use appropriate npm commands for ci environment

This commit is contained in:
Palm 2023-03-26 21:42:15 +07:00
parent ded1a44c37
commit d1c12edd1b

View File

@ -52,9 +52,9 @@ jobs:
keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
- name: Setup semantic-release
run: npm install
run: npm ci
- name: Get release version
run: npx semantic-release --dry-run
run: npm exec semantic-release --dry-run
id: get-next-version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}