Skip to content

Bump got from 11.8.6 to 14.5.0 #32

Bump got from 11.8.6 to 14.5.0

Bump got from 11.8.6 to 14.5.0 #32

Workflow file for this run

name: Build and push package
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
uses: 'flowfuse/github-actions-workflows/.github/workflows/[email protected]'
with:
node: '[
{"version": "18", "tests": true, "lint": true},
{"version": "20", "tests": true, "lint": true},
]'
publish:
needs: build
if: |
( github.event_name == 'push' && github.ref == 'refs/heads/main' ) ||
( github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' )
uses: 'flowfuse/github-actions-workflows/.github/workflows/[email protected]'
with:
package_name: nr-mqtt-nodes
publish_package: true
secrets:
npm_registry_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
dispatch_nr_launcher:
name: Dispatch nr-launcher package build
needs: publish
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.GH_BOT_APP_ID }}
private_key: ${{ secrets.GH_BOT_APP_KEY }}
- name: Trigger nr-launcher package build
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
with:
workflow: publish.yml
repo: flowfuse/nr-launcher
ref: main
token: ${{ steps.generate_token.outputs.token }}
inputs: '{"nr_mqtt_nodes_ref": "${{ github.ref }}", "nr_mqtt_nodes_release_name": "${{ needs.publish.outputs.release_name }}"}'