Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Nov 6, 2024
1 parent 213b65c commit 204bc2b
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}
- run: npm whoami; npm --ignore-scripts publish
- run: npm whoami; npm --ignore-scripts publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- uses: actions/upload-pages-artifact@v3
Expand Down
135 changes: 135 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@htmx/template-element",
"version": "1.0.0",
"version": "0.0.0",
"description": "A custom element for adding a toolbar to a textarea for markdown editing.",
"repository": "zeiss/template-element",
"type": "module",
Expand All @@ -9,7 +9,7 @@
"types": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist",
"dev": "http-server",
"dev": "tsc-watch --onSuccess 'http-server . --port 8080 -c-1'",
"lint": "eslint src/*.ts",
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build": "tsc",
Expand All @@ -36,6 +36,7 @@
"eslint-plugin-github": "^5.0.2",
"http-server": "^14.1.1",
"jsdom": "^25.0.1",
"tsc-watch": "^6.2.0",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.4"
Expand Down

0 comments on commit 204bc2b

Please sign in to comment.