Skip to content

Commit

Permalink
chore: Add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
inwaar committed May 10, 2023
1 parent c4f1d39 commit c9e9de3
Show file tree
Hide file tree
Showing 3 changed files with 7,226 additions and 613 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- name: Publish to Node-RED catalog
uses: hacksore/node-red-flow@v2
with:
repo: "node-red-contrib-gree-hvac"
Loading

0 comments on commit c9e9de3

Please sign in to comment.