Skip to content

Commit 4722853

Browse files
committed
fix(cd): fix order
1 parent a8b3537 commit 4722853

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/boilerplate-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ jobs:
1616
with:
1717
node-version: '20.x'
1818
registry-url: 'https://registry.npmjs.org'
19-
- run: npm publish
20-
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22-
- run: |
19+
- name: Bump version
20+
run: |
2321
git config --global user.name "ReactNativeBoilerplate Bot"
2422
git config --global user.email "[email protected]"
2523
npm --no-git-tag-version version ${{ github.event.release.name }}
24+
- run: npm publish
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2627
- name: Commit and push
2728
run: |
2829
git add .

0 commit comments

Comments
 (0)