Skip to content

Commit

Permalink
ci: update workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
abichinger committed Oct 19, 2024
1 parent b79cc63 commit b196416
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@ on:
push:
branches:
- main
- next
- beta

jobs:
test:
name: Test
uses: ./.github/workflows/test.yml
release:
name: Release
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Install dependencies
run: yarn install
- name: Build
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Test

on:
push:
branches:
branches-ignore:
- main
- beta
- next
- develop
pull_request:
branches:
- main
workflow_call:

jobs:
test:
Expand All @@ -23,11 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python packages
Expand Down

0 comments on commit b196416

Please sign in to comment.