Skip to content

Commit 43ffd8b

Browse files
committed
ci(napi): match our commit style
1 parent ea23cc4 commit 43ffd8b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/napi-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
- '**/*.gitignore'
1818
- .editorconfig
1919
- docs/**
20-
pull_request: null
20+
pull_request:
2121
jobs:
2222
build:
2323
if: '!contains(github.event.head_commit.message, ''skip ci'')'
@@ -507,11 +507,11 @@ jobs:
507507
- name: Publish
508508
working-directory: ${{ env.APP_DIR }}
509509
run: |
510-
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
510+
if git log -1 --pretty=%B | grep "^chore(release): [0-9]\+\.[0-9]\+\.[0-9]\+$";
511511
then
512512
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
513513
npm publish --access public
514-
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
514+
elif git log -1 --pretty=%B | grep "^chore(release): [0-9]\+\.[0-9]\+\.[0-9]\+";
515515
then
516516
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
517517
npm publish --tag next --access public

0 commit comments

Comments
 (0)