Skip to content

Commit

Permalink
another pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioCoser committed Mar 29, 2024
1 parent 2d7653c commit a39c451
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jobs:
prerelease: false
release_name: ${{ steps.version.outputs.version }}
tag_name: ${{ github.ref }}
body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ github.token }}
- name: upload artifact
Expand Down
20 changes: 19 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<script defer type="module" src="./index.ts"></script>
<script src="./cdn/index.global.js"></script>
</head>
<body>
<script type="application/javascript">
const Div = doom.Div
const Button = doom.Button
const signal = doom.signal
const derive = doom.derive
const d = doom.d

function App() {
var [counter, setCounter] = signal(1)
var onclick = () => setCounter(counter() + 1)

return Div([
Div(d`${counter}`),
Button({ className: "pippo", onclick }, () => "Increment")
])
}
document.body.appendChild(App());
</script>
</body>
</html>

0 comments on commit a39c451

Please sign in to comment.