Skip to content

Commit

Permalink
ci: add release filter
Browse files Browse the repository at this point in the history
  • Loading branch information
joonaathaan committed Oct 18, 2024
1 parent 27da3bb commit de6ee97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
run: pnpm install

- name: Build Project
run: pnpm build
run: pnpm --filter $${{ matrix.package }} build

- name: Release
id: 'release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: |
pnpm semantic-release
pnpm --filter $${{ matrix.package }} semantic-release
- name: Configure git, commit and push!
id: commmit
Expand All @@ -58,5 +58,5 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: release ${{matrix.package}}@$(pnpm version --json | jq -r '.${{ matrix.package }}') [skip ci]" || echo "No changes to commit"
git commit -m "chore: release ${{ matrix.package }}@$(pnpm version --json | jq -r '.${{ matrix.package }}') [skip ci]" || echo "No changes to commit"
git push

0 comments on commit de6ee97

Please sign in to comment.