Skip to content

Commit fdbaaed

Browse files
committed
update github workflows
1 parent 829fca5 commit fdbaaed

6 files changed

Lines changed: 115 additions & 25 deletions

File tree

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: konne

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: github-actions
8+
directory: /
9+
schedule:
10+
interval: weekly

.github/workflows/publish.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: checkout
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '24'
20+
21+
- name: npm install & set Version
22+
run: |
23+
npm ci
24+
npm config set git-tag-version false
25+
npm version ${{ github.event.release.tag_name }}
26+
ß
27+
- name: build & pack
28+
run: |
29+
npm run build --if-present
30+
npm pack
31+
32+
- uses: JS-DevTools/npm-publish@v3
33+
if: "!github.event.release.prerelease"
34+
with:
35+
token: ${{ secrets.NPM_TOKEN }}
36+
37+
- name: Upload Release Asset
38+
uses: actions/upload-release-asset@v1
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
with:
42+
upload_url: '${{ github.event.release.upload_url }}'
43+
asset_path: ./${{ github.event.repository.name }}-${{ github.event.release.tag_name }}.tgz
44+
asset_name: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }}.tgz
45+
asset_content_type: application/zip

.github/workflows/release.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

ISSUE_TEMPLATE/bug_report.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Using node '...'
16+
2. Click on '....'
17+
3. See error
18+
19+
**Expected behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Screenshots**
23+
If applicable, add screenshots to help explain your problem.
24+
25+
**Flow**
26+
If applicable, add a flow to help explain your problem.
27+
28+
**Hardware (please complete the following information):**
29+
- Hardware: [e.g. Cerbo GX, Ekrano, Raspberry Pi]
30+
31+
**Software (please complete the following information):**
32+
- node-red-contrib-victron version:
33+
- Venus OS version:
34+
35+
36+
**Additional context**
37+
Add any other context about the problem here.

ISSUE_TEMPLATE/feature_request.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for the Victron BLE node
4+
title: "[Feature]"
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

0 commit comments

Comments
 (0)