Skip to content

Release 2.33.2 (#308) #79

Release 2.33.2 (#308)

Release 2.33.2 (#308) #79

Workflow file for this run

on:
push:
tags:
- "v*.*.*"
jobs:
build_npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
- uses: JS-DevTools/npm-publish@0fd2f4369c5d6bcfcde6091a7c527d810b9b5c3f # v4.1.5
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
access: public
notify-slack:
name: Notify about release failure
needs: [build_npm]
if: failure()
runs-on: ubuntu-latest
steps:
- name: Notify Slack
uses: FlowFuse/github-actions-workflows/actions/slack_notification@slack_notification/v1
with:
bot-token: ${{ secrets.SLACK_GHBOT_TOKEN }}
mode: channel
blocks: |
[
{ "type": "header", "text": { "type": "plain_text", "text": ":x: ${{ github.workflow }} workflow failed", "emoji": true } },
{ "type": "divider" },
{ "type": "section", "text": { "type": "mrkdwn", "text": "<${{ github.server_url }}/${{ github.repository }}/actions/workflows/release-build.yml|${{ github.workflow }}> workflow failed to complete successfully." } },
{ "type": "section", "text": { "type": "mrkdwn", "text": "*Workflow run:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View>" } }
]