Skip to content

Commit c634a89

Browse files
committed
ci: publish without checking comments
1 parent 9795002 commit c634a89

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,6 @@ jobs:
199199
if: ${{github.event.inputs.publish}}
200200
name: Publish
201201
runs-on: ubuntu-latest
202-
needs:
203-
- test-linux-x64-gnu-binding
204-
- test-macOS-binding
205202
steps:
206203
- uses: actions/checkout@v3
207204
- name: Setup node
@@ -230,17 +227,8 @@ jobs:
230227
shell: bash
231228
- name: Publish
232229
run: |
233-
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
234-
then
235-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
236-
npm publish --access public
237-
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
238-
then
239-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
240-
npm publish --tag next --access public
241-
else
242-
echo "Not a release, skipping publish"
243-
fi
230+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
231+
npm publish --access public
244232
env:
245233
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
246234
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)