Skip to content

Commit 3168f4d

Browse files
committed
Attempt to fix publish script
1 parent b0a4cf5 commit 3168f4d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
with:
2626
node-version: 20
2727
registry-url: https://registry.npmjs.org
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2830
- name: Setup Git
2931
run: |
3032
git config --global user.name "mayank1513"
@@ -43,5 +45,6 @@ jobs:
4345
BRANCH: ${{ github.ref_name }}
4446
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
4547
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
48+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
4649
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4750
token: ${{ secrets.GITHUB_TOKEN }}

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@m2d/image",
33
"author": "Mayank Kumar Chaudhari (https://mayank-chaudhari.vercel.app)",
44
"private": false,
5-
"version": "0.2.0",
5+
"version": "0.2.1",
66
"description": "MDAST to DOCX plugin for resolving and embedding images. Supports base64, URLs, and custom resolvers for seamless DOCX image integration.",
77
"license": "MPL-2.0",
88
"main": "./dist/index.js",

0 commit comments

Comments
 (0)