Skip to content

Commit

Permalink
chore: testing nodejs package
Browse files Browse the repository at this point in the history
  • Loading branch information
HinsonSIDAN committed Mar 20, 2024
1 parent 7c98bed commit 4d7cdd7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
types: [created]
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
build:
Expand All @@ -34,10 +34,10 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: yarn ci
- run: |
if [[ "${{ github.event.head_commit.message }}" =~ ^(docs:|chore:) ]]; then
echo "Skipping npm publish due to commit message."
else
# if [[ "${{ github.event.head_commit.message }}" =~ ^(docs:|chore:) ]]; then
# echo "Skipping npm publish due to commit message."
# else
yarn js:publish-nodejs && yarn js:publish-browser
fi
# fi
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 4d7cdd7

Please sign in to comment.