Skip to content

Commit

Permalink
feat: trigger ci on any branch
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaliy Sidorenko <[email protected]>
  • Loading branch information
Vitaliy Sidorenko committed Nov 28, 2024
1 parent d6fa056 commit dd84615
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- main
- '**'

name: Package

Expand All @@ -11,9 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: main
uses: actions/checkout@v4

- name: Install packages
run: npm ci
- name: Run linter
Expand All @@ -25,4 +24,4 @@ jobs:
git config --global user.name "GitHub Actions"
git add dist/
git commit -m "Update dist" || echo "No changes to commit"
git push origin main
git push origin HEAD

0 comments on commit dd84615

Please sign in to comment.