We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e12f031 commit 58c328aCopy full SHA for 58c328a
.github/workflows/CI.yml
@@ -407,18 +407,7 @@ jobs:
407
run: ls -R ./npm
408
shell: bash
409
- name: Publish
410
- run: |
411
- if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
412
- then
413
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
414
- npm publish --access public
415
- elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
416
417
418
- npm publish --tag next --access public
419
- else
420
- echo "Not a release, skipping publish"
421
- fi
+ run: npm publish --access public
422
env:
423
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
424
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments