Skip to content

Commit 2f511c9

Browse files
authored
Update on_pull_request_main.yml
1 parent cda60a3 commit 2f511c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/on_pull_request_main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
run: |
4747
git config --global user.email "felipe.so.dev@gmail.com"
4848
git config --global user.name "GitHub Actions"
49+
50+
# Pega a versão do "package.json"
51+
- name: get-npm-version
52+
id: package-version
53+
uses: martinbeentjes/npm-get-version-action@v1.3.1
4954

5055
# Configura changelog
5156
# npm run version
@@ -69,11 +74,6 @@ jobs:
6974
GITHUB_TOKEN: ${{ secrets.MY_TOKEN }}
7075
run: |
7176
git push origin
72-
73-
# Pega a versão do "package.json"
74-
- name: get-npm-version
75-
id: package-version
76-
uses: martinbeentjes/npm-get-version-action@v1.3.1
7777
7878
# Drafts your next Release notes as Pull Requests are merged into "main"
7979
# - uses: release-drafter/release-drafter@v5

0 commit comments

Comments
 (0)