Skip to content

Commit 0e926a2

Browse files
committed
git: squash commit into one
1 parent e217172 commit 0e926a2

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/publishNPM.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: GitHub Actions Demo
2+
on: [push]
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: 10
11+
- name: Automated Version Bump
12+
id: version-bump
13+
uses: phips28/gh-action-bump-version@master
14+
with:
15+
commit-message: 'CI: package.json version auto updated to {{version}}'
16+
env:
17+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
18+
- uses: JS-DevTools/npm-publish@v1
19+
with:
20+
token: ${{ secrets.NPM_TOKEN }}
21+
package: ./package.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hmarques98/react-native-template-typescript",
3-
"version": "1.0.26",
3+
"version": "1.0.28",
44
"description": "A minimal template with good architecture and common packages to let you focus on writing features right away.",
55
"scripts": {
66
"publish": ""

0 commit comments

Comments
 (0)