Skip to content

Commit 0ff3f30

Browse files
authored
Merge pull request #447 from facultyai/prerelease/0.10.6-rc1
Use npm publish action
2 parents af25ed5 + be0e7a6 commit 0ff3f30

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
python-version: 3.8
2929
- name: Install Python dependencies
3030
run: python -m pip install dash[dev] flit invoke semver termcolor
31-
- name: Publish release to npm
32-
run: npm publish
33-
env:
34-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
- uses: JS-DevTools/npm-publish@v1
32+
with:
33+
token: ${{ secrets.NPM_TOKEN }}
3534
- name: Publish release to PyPI
3635
run: flit publish
3736
env:
@@ -85,10 +84,9 @@ jobs:
8584
python-version: 3.8
8685
- name: Install Python dependencies
8786
run: python -m pip install dash[dev] flit invoke semver termcolor
88-
- name: Publish prerelease to npm
89-
run: npm publish
90-
env:
91-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
87+
- uses: JS-DevTools/npm-publish@v1
88+
with:
89+
token: ${{ secrets.NPM_TOKEN }}
9290
- name: Publish prerelease to PyPI
9391
run: flit publish
9492
env:

0 commit comments

Comments
 (0)