Skip to content

registry-url seems to be needed to release properly #488

registry-url seems to be needed to release properly

registry-url seems to be needed to release properly #488

Workflow file for this run

name: 'Build'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install
- run: yarn build
- uses: zcong1993/setup-timezone@master
with:
timezone: Europe/Brussels
- run: yarn test
notify-slack-success:
runs-on: ubuntu-latest
needs: [build]
if: success() && github.ref == 'refs/heads/master'
steps:
- uses: voxmedia/github-action-slack-notify-build@v2
with:
status: SUCCESS. Please release, ${{ github.actor }}.
channel: build_status
color: good
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
notify-slack-failure:
runs-on: ubuntu-latest
needs: [build]
if: failure() && github.ref == 'refs/heads/master'
steps:
- uses: voxmedia/github-action-slack-notify-build@v2
with:
status: FAILED
channel: build_status
color: danger
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}