Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
batosai committed Jul 14, 2023
2 parents 4d21f78 + d375aa0 commit 76cec10
Show file tree
Hide file tree
Showing 6 changed files with 643 additions and 568 deletions.
71 changes: 71 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: NPM publish

on:
push:
branches:
- 'main'

env:
success:
failure: 🔴
cancelled:
skipped:
node_version: 18
true:
false: 🔴

jobs:

release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- id: release
uses: halvardssm/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: "./package.json" # optional, will use ./package.json by default

- run: |
echo 'Release created: ${{steps.release.outputs.release_created}}' # 'true' or 'false'
echo 'Release exists: ${{steps.release.outputs.release_exists}}' # 'true' or 'false'
echo 'Release tag: ${{steps.release.outputs.release_tag}}' # The tag from package.json
- name: Notification
if: ${{ always() }}
uses: appleboy/telegram-action@master
with:
token: ${{ secrets.BOT_TOKEN }}
to: ${{ secrets.CHAT_ID }}
message: |
Repository: ${{ github.repository }}
Release : ${{ env[steps.release.outputs.release_created] }}
Tag: ${{ steps.release.outputs.release_tag }}
publish-npm:
needs: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/

- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Notification
if: ${{ always() }}
uses: appleboy/telegram-action@master
with:
token: ${{ secrets.BOT_TOKEN }}
to: ${{ secrets.CHAT_ID }}
message: |
Repository: ${{ github.repository }}
npm publish : ${{ env[job.status] }}
2 changes: 1 addition & 1 deletion fractal/components/_preview.edge
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Preview Layout</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="https://cdn.jsdelivr.net/npm/daisyui@3.1.0/dist/full.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/daisyui@3.2.1/dist/full.css" rel="stylesheet" type="text/css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet" type="text/css" />
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>

Expand Down
5 changes: 5 additions & 0 deletions fractal/docs/03-changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.6.2

- Fix drawer z-index sidebar
- Update daisyUI

# 1.6.1

- Fix drawer component
Expand Down
Loading

0 comments on commit 76cec10

Please sign in to comment.