Skip to content

Commit f1c8c4f

Browse files
committed
Fix publish action
1 parent 0038c6c commit f1c8c4f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,10 @@ jobs:
1515
with:
1616
path: '**/node_modules'
1717
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
18-
19-
- name: Install packages
20-
run: yarn
21-
22-
- name: Create Build
23-
run: yarn build
24-
25-
- uses: JS-DevTools/npm-publish@v1
26-
with:
27-
token: ${{ secrets.NPM_TOKEN }}
18+
- run: yarn
19+
- run: yarn build
20+
- run: npm publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2823

2924

0 commit comments

Comments
 (0)