Skip to content

Commit ebc4567

Browse files
fix: publish workflow
1 parent 254663d commit ebc4567

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
with:
1212
node-version: "18"
1313
- run: npm ci
14-
- uses: JS-DevTools/npm-publish@v3
15-
with:
16-
token: ${{ secrets.NPM_TOKEN}}
14+
- run: npm install
15+
- run: npm run build
16+
- run: npm publish
17+
env:
18+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-render-helper",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Simplify your conditional rendering within React with elegance and intuitiveness with ease.",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",
@@ -23,7 +23,9 @@
2323
"react",
2424
"conditional rendering",
2525
"helper",
26-
"jsx"
26+
"jsx",
27+
"render",
28+
"utility"
2729
],
2830
"main": "./dist/index.js",
2931
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)