Skip to content

Commit 58c328a

Browse files
committed
Fix CI
1 parent e12f031 commit 58c328a

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -407,18 +407,7 @@ jobs:
407407
run: ls -R ./npm
408408
shell: bash
409409
- 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-
then
417-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
418-
npm publish --tag next --access public
419-
else
420-
echo "Not a release, skipping publish"
421-
fi
410+
run: npm publish --access public
422411
env:
423412
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
424413
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)