Skip to content

Commit

Permalink
fix(ci): only build check on boilerplate branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hUwUtao committed May 25, 2024
1 parent 55afca2 commit ed15aa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- boilerplate

jobs:
build-and-publish:
Expand Down Expand Up @@ -37,6 +38,7 @@ jobs:
echo "registry=https://npm.pkg.github.com/" >> .npmrc
- name: Publish to GitHub Packages
if: github.ref == 'refs/heads/boilerplate'
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ed15aa5

Please sign in to comment.