Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto npm publish action and master update #178

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/auto-npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: auto-npm-publish
on:
push:
tags:
- "*" # This will run on any tag pushed.
jobs:
publish:
# if: github.event.base_ref == 'refs/heads/master' uncomment this if any for master (main) branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm install
- run: npm test
- run: npm run build:prod
- name: NPM Publish
uses: JS-DevTools/npm-publish@v1
with:
package: ./dist/ngx-mqtt/package.json
check-version: true
token: ${{ secrets.NPM_TOKEN }}

26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [8.0.4](https://github.com/sclausen/ngx-mqtt/compare/v8.0.3...v8.0.4) (2021-01-17)


### Bug Fixes

* github npm auto publish postinstall inside dev dir issue. ([d86b641](https://github.com/sclausen/ngx-mqtt/commit/d86b641757bc7731e855f0156d280dd6b32eb453))
* incorrect path to package.json. ([b49c872](https://github.com/sclausen/ngx-mqtt/commit/b49c872942c9281db32ede299d411446f9cecf28))

### [8.0.4](https://github.com/sclausen/ngx-mqtt/compare/v8.0.6...v8.0.4) (2021-01-17)

### [8.0.6](https://github.com/sclausen/ngx-mqtt/compare/v8.0.3...v8.0.6) (2021-01-17)


### Bug Fixes

* github npm auto publish postinstall inside dev dir issue. ([d86b641](https://github.com/sclausen/ngx-mqtt/commit/d86b641757bc7731e855f0156d280dd6b32eb453))
* incorrect path to package.json. ([b49c872](https://github.com/sclausen/ngx-mqtt/commit/b49c872942c9281db32ede299d411446f9cecf28))

### [8.0.4](https://github.com/sclausen/ngx-mqtt/compare/v8.0.3...v8.0.4) (2021-01-17)


### Bug Fixes

* github npm auto publish postinstall inside dev dir issue. ([d86b641](https://github.com/sclausen/ngx-mqtt/commit/d86b641757bc7731e855f0156d280dd6b32eb453))
* incorrect path to package.json. ([b49c872](https://github.com/sclausen/ngx-mqtt/commit/b49c872942c9281db32ede299d411446f9cecf28))

### [7.0.12](https://github.com/sclausen/ngx-mqtt/compare/v7.0.8...v7.0.12) (2020-08-19)

### [7.0.8](https://github.com/sclausen/ngx-mqtt/compare/v7.0.7...v7.0.8) (2020-08-11)
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
},
{
"name": "nosovk"
},
{
"name": "chadhutchins182"
}
],
"license": "MIT",
Expand Down
Empty file.
Loading