Skip to content

Fixed gh action

Fixed gh action #4

Workflow file for this run

name: Release publish
on:
push:
branches:
- master
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
always-auth: true
- name: Publish
run: |
npm ci
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_TKN}}
- name: Update Node-Red flow-library
uses: Zehir/[email protected]
continue-on-error: true
with:
package-name: '@nrchkb/node-red-tuya-smart-device'