Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Sep 6, 2024
1 parent b52f33a commit 1f773c6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI/CD
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -23,6 +27,7 @@ jobs:
- run: pnpm run lint
- run: pnpm run --if-present test
- name: Create Release Pull Request or Publish to npm
if: ${{ github.ref == 'refs/heads/main' }}
uses: changesets/action@v1
with:
publish: pnpm exec changeset publish
Expand Down

0 comments on commit 1f773c6

Please sign in to comment.