-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 928 Bytes
/
storybook.yml
File metadata and controls
40 lines (35 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: storybook build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24.14.0
- name: clean install
run: npm ci
- name: run build
id: build
run: npm run build-storybook
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47
with:
separator: " "
- name: Notify Telegram
uses: james-kua/notify-telegram-action@main
with:
workflow_name: ${{ github.workflow }}
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
message_format: markdown
disable_preview: true
timezone: 'Asia/Singapore'