Skip to content

Commit b92bc24

Browse files
committed
workflows
1 parent 2f64e50 commit b92bc24

File tree

4 files changed

+22
-10
lines changed

4 files changed

+22
-10
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
if: |
2020
github.event_name == 'workflow_dispatch' ||
2121
github.event_name == 'workflow_call' ||
22-
github.event_name == 'push' ||
23-
github.event.workflow_run.conclusion == 'success'
22+
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
23+
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v4

.github/workflows/release-new-version.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ jobs:
6666
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6767
NPM_CONFIG_LOGLEVEL: verbose
6868

69-
# deploy-docs:
70-
# name: 📘 Docs
71-
# needs: build-publish
72-
# uses: ./.github/workflows/deploy-docs.yml
73-
# secrets: inherit
69+
deploy-docs:
70+
name: 📘 Docs
71+
needs: build-publish
72+
uses: ./.github/workflows/deploy-docs.yml
73+
secrets: inherit
7474

7575
run-tests:
7676
name: 🧪 Tests

.github/workflows/write-release-notes.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ jobs:
1717
fetch-depth: 10
1818
clean: false
1919

20+
- name: Setup Bun
21+
uses: oven-sh/setup-bun@v2
22+
23+
- name: Install dependencies
24+
run: bun i
25+
26+
- name: Build package
27+
run: bun run build
28+
29+
- name: Build bundle
30+
run: bun run bundle
31+
2032
- name: Read package version from package.json
2133
id: package-version
2234
run: |
@@ -35,9 +47,9 @@ jobs:
3547
with:
3648
tag_name: v${{ steps.package-version.outputs.version }}
3749
body: |
38-
🌼 Read changelog: https://daisyui.com/docs/changelog/
50+
🌼 Read changelog: https://daisyui.com/docs/changelog/
3951
40-
📦 Install this update:
52+
📦 Install this update:
4153
```bash
4254
npm i -D daisyui@${{ steps.package-version.outputs.version }}
4355
```

packages/daisyui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"name": "daisyui",
4-
"version": "5.0.7-experimental-0",
4+
"version": "5.0.7-experimental-1",
55
"description": "daisyUI 5 - Tailwind CSS Component Library",
66
"author": "Pouya Saadeghi",
77
"license": "MIT",

0 commit comments

Comments
 (0)