Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zehir/update-package-node-red-flow-library-action

Update or add a Node-Red package on the Node-Red flow library (flows.nodered.org).
https://github.com/zehir/update-package-node-red-flow-library-action

Last synced: about 2 months ago
JSON representation

Update or add a Node-Red package on the Node-Red flow library (flows.nodered.org).

Awesome Lists containing this project

README

        

# Update Node-Red flow-library

Update or add a Node-Red package on the Node-Red flow library (flows.nodered.org).

## Inputs

### `package-name`

**Required** The name of the package. Default `""`.

## Outputs

### `result`

The result of update

## Example usage

```yaml
name: NPM Publish

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm install
- run: npm test
- id: publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
- if: steps.publish.outputs.type != 'none'
name: Update Node-Red flow-library
uses: Zehir/[email protected]
continue-on-error: true
with:
package-name: 'node-red-contrib-deconz'

```