Skip to content

Commit

Permalink
feat:semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Bentley authored and Tony Bentley committed Dec 31, 2023
1 parent 7749aeb commit 9bc8d86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: React/NodeJS CI

on:
push:
branches: [ 0.0.1 ]
branches: [ main ]
pull_request:
branches: [ main, master ]

Expand Down Expand Up @@ -33,4 +33,10 @@ jobs:
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
"name": "signalk-multiplex-viewer",
"version": "0.0.1",
"private": false,
"repository": "https://github.com/tonybentley/signalk-multiplex-viewer",
"homepage": "./",
"main": "index.js",
"keywords": [
"signalk-node-server-plugin",
"signalk-webapp"
],
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git"
],
"branches": [
"master",
"main"
Expand Down

0 comments on commit 9bc8d86

Please sign in to comment.