diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a106befe..0c1be3a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.gitignore b/.gitignore index 14294479..38299b0c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,7 @@ npm-debug.log yarn-error.log node_modules +dist +es +lib test/coverage diff --git a/package.json b/package.json index 65e47e25..ebb46c1f 100644 --- a/package.json +++ b/package.json @@ -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",