Skip to content

Commit

Permalink
fix: add release of npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-daures committed Feb 12, 2024
1 parent b68e3c4 commit 17b6abd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
- name: ✅ Test
run: pnpm run test

- name: Publish package
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_PUBLISH_TOKEN}}

#- name: 🔑 Generate Token
# uses: wow-actions/use-app-token@v2
# with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
npm-debug.log
yarn-error.log
node_modules
dist
es
lib
test/coverage
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "html-to-image-intuiface",
"name": "@intuiface/html-to-image",
"version": "1.11.12",
"description": "Generates an image from a DOM node using HTML5 canvas and SVG. This is a fork from antoher fork Repo (2knu/html-to-image) from the original Repo (bubkoo/html-to-image)",
"main": "lib/index.js",
Expand Down

0 comments on commit 17b6abd

Please sign in to comment.