Skip to content

v2.1.7

v2.1.7 #1

Workflow file for this run

name: SolvUpdateNotification
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i -g yarn
- run: yarn install
- run: yarn test
- name: Disord Notification Epics
run: yarn discord:epics
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_CHANNEL_ID: ${{ secrets.DISCORD_CHANNEL_ID }}
DISCORD_CHANNEL_ID_JA: ${{ secrets.DISCORD_CHANNEL_ID_JA }}
- name: Tweet package update notification
if: success()
run: |
curl --location ${{ secrets.TW_ENDPOINT }} \
--header 'Content-Type: application/json' \
--data '{"repo": "epicsDAO/solv2", "hey": "${{ secrets.TW_ENDPOINT_SECRET }}"}'