Skip to content

Merge pull request #1348 from FlowFuse/dependabot/github_actions/flow… #593

Merge pull request #1348 from FlowFuse/dependabot/github_actions/flow…

Merge pull request #1348 from FlowFuse/dependabot/github_actions/flow… #593

name: Build and publish packages to the registry
on:
push:
branches:
- main
jobs:
build:
uses: 'flowfuse/github-actions-workflows/.github/workflows/[email protected]'
with:
node: '[
{"version": "18", "tests": true, "lint": true},
]'
publish:
needs: build
if: |
github.ref == 'refs/heads/main'
uses: 'flowfuse/github-actions-workflows/.github/workflows/[email protected]'
with:
package_name: node-red-dashboard
publish_package: true
secrets:
npm_registry_token: ${{ secrets.NPM_PUBLISH_TOKEN }}