Skip to content

Commit 11008d8

Browse files
committed
chore: update github action configuration
1 parent 533247b commit 11008d8

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
- name: 🟢 Setup Node.js
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: '16'
18+
node-version: 16
19+
registry-url: 'https://registry.npmjs.org'
1920
- name: 🛠 Install Node.js dependencies
20-
run: npm install
21-
- name: 🚀 Publish
22-
run: npm publish --access public
21+
run: npm install --production
22+
- name: 📦 Publish package to NPM
23+
run: npm publish
2324
env:
2425
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
26+

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
22
"name": "vertical-timeline-component-react",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "A simple component for create a vertical timeline with React",
55
"main": "./lib/cjs/index.js",
66
"module": "./lib/esm/index.js",
77
"types": "./lib/esm/index.d.ts",
88
"files": [
99
"/lib"
1010
],
11-
"publishConfig": {
12-
"registry": "https://registry.npmjs.org/"
13-
},
1411
"repository": "https://github.com/Proskynete/vertical-timeline-component-react",
1512
"author": {
1613
"name": "Eduardo Esteban Álvarez Castañeda",

0 commit comments

Comments
 (0)