-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #480 from hypeserver/tool/github-action-npm-publish
Add npm publish github action on release/* tag addition + bump to version 1.1.4
- Loading branch information
Showing
9 changed files
with
2,765 additions
and
2,256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Publish | ||
on: | ||
push: | ||
tags: | ||
- release/* | ||
jobs: | ||
build: | ||
name: NPM Package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Publish new version to NPM | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 13.x | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: yarn install | ||
- run: yarn build | ||
- run: yarn publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ node_modules/ | |
lib/ | ||
NOTES.txt | ||
styleguide/ | ||
dist/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "react-date-range", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A React component for choosing dates and date ranges.", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
|
@@ -22,16 +22,17 @@ | |
"contributors": [ | ||
"Burak Can <[email protected]> (https://github.com/burakcan)", | ||
"Mehmet Kamil Morcay <[email protected]> (https://github.com/mkg0)", | ||
"Kamyar Ghasemlou <[email protected]> (https://github.com/kamyar)", | ||
"Engin Semih Basmacı <[email protected]> (https://github.com/mortargrind)", | ||
"Onur Kerimov <[email protected]> (https://github.com/onurkerimov)" | ||
], | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/Adphorus/react-date-range" | ||
"url": "http://github.com/hypeserver/react-date-range" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/Adphorus/react-date-range/issues" | ||
"url": "http://github.com/hypeserver/react-date-range/issues" | ||
}, | ||
"browserslist": [ | ||
"defaults" | ||
|
Oops, something went wrong.