Bump brace-expansion #421
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and push packages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| uses: 'flowfuse/github-actions-workflows/.github/workflows/build_node_package.yml@v0.52.0' | |
| with: | |
| node: '[ | |
| {"version": "24", "tests": false, "lint": true}, | |
| ]' | |
| publish: | |
| needs: build | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| uses: 'flowfuse/github-actions-workflows/.github/workflows/publish_node_package.yml@v0.52.0' | |
| with: | |
| package_name: file-server | |
| publish_package: true | |
| secrets: | |
| npm_registry_token: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
| dispatch_container_build: | |
| needs: publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Generate a token | |
| id: generate_token | |
| uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0 | |
| with: | |
| app-id: ${{ secrets.GH_BOT_APP_ID }} | |
| private-key: ${{ secrets.GH_BOT_APP_KEY }} | |
| owner: ${{ github.repository_owner }} | |
| repositories: helm | |
| - name: Trigger file-server container image build | |
| uses: benc-uk/workflow-dispatch@7a027648b88c2413826b6ddd6c76114894dc5ec4 # v1.3.1 | |
| with: | |
| workflow: fileserver-container.yml | |
| repo: flowfuse/helm | |
| ref: main | |
| token: ${{ steps.generate_token.outputs.token }} | |
| inputs: '{"fileserver_ref": "${{ github.ref }}", "fileserver_release_name": "${{ needs.publish.outputs.release_name }}"}' |