Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,15 @@ jobs:
needs: [test-and-build]
runs-on: ubuntu-latest

if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/rc'
if: |
github.event_name == 'push' &&
(
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/beta' ||
github.ref == 'refs/heads/alpha' ||
github.ref == 'refs/heads/dev' ||
github.ref == 'refs/heads/rc'
)
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -57,15 +65,15 @@ jobs:

- run: npm ci
- run: npm run build

- name: Setup Git identity
run: |
git config user.name "semantic-release-bot"
git config user.email "[email protected]"

- name: Run semantic-release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/debug-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test Trigger

on:
push:
branches:
- main
- beta
- alpha
- dev
- rc

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Say hello
run: echo "Push triggered on ${{ github.ref }}"