File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ runs:
2525
2626 - name : Bump version
2727 if : ${{ !inputs.npm_tag }}
28- run : yarn version --new-version "${{ inputs.version }}" --no-commit-hooks
28+ run : yarn version --new-version "${{ inputs.version }}" --no-commit-hooks --no-git-tag-version
2929 shell : bash
3030
3131 - name : Bump version with npm_tag
3232 if : ${{ inputs.npm_tag }}
33- run : yarn version --new-version "${{ inputs.version }}" --preid ${{ inputs.npm_tag }} --no-commit-hooks
33+ run : yarn version --new-version "${{ inputs.version }}" --preid ${{ inputs.npm_tag }} --no-commit-hooks --no-git-tag-version
3434 shell : bash
3535
3636 - name : Saving new version to env
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ jobs:
1919 publish :
2020 runs-on : ubuntu-latest
2121 permissions :
22+ contents : write
2223 id-token : write
2324 steps :
2425 - name : Checkout
25- uses : actions/checkout@v4
26+ uses : actions/checkout@v6
2627 with :
2728 token : ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}
2829
@@ -38,10 +39,24 @@ jobs:
3839 - name : Validation
3940 uses : ./.github/actions/validation
4041
41- - name : Complete publish
42- uses : ./.github/actions/complete-publish
42+ - name : Update npm
43+ run : npm install -g npm@latest
44+ shell : bash
45+
46+ - name : Publish to npm
47+ run : npm publish --access public
48+ shell : bash
49+
50+ - name : Commit and tag
51+ run : |
52+ git add -A
53+ git commit -m "bump(create-vk-mini-app): from ${{ steps.updated_versions_info.outputs.prev_version }} to ${{ steps.updated_versions_info.outputs.next_version }}"
54+ git tag create-vk-mini-app@${{ steps.updated_versions_info.outputs.next_version }}
55+ shell : bash
56+
57+ - name : Pushing changes
58+ uses : ad-m/github-push-action@master
4359 with :
60+ github_token : ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}
4461 branch : ${{ github.ref }}
45- prev_version : ${{ steps.updated_versions_info.outputs.prev_version }}
46- next_version : ${{ steps.updated_versions_info.outputs.next_version }}
47- token : ${{ secrets.DEVTOOLS_GITHUB_TOKEN }}
62+ tags : true
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments