Enable CI on version branches

This commit is contained in:
Jonatan Kłosko 2023-07-05 21:09:50 +02:00
parent 62a74eb660
commit 2cd77aefeb

View file

@ -4,6 +4,7 @@ on:
push:
branches:
- main
- "v*.*"
jobs:
main:
runs-on: ubuntu-latest
@ -59,7 +60,7 @@ jobs:
run: npm test --prefix assets
windows:
runs-on: windows-latest
if: github.ref_name == 'main'
if: github.event_name == 'push'
env:
MIX_ENV: test
steps:
@ -105,7 +106,7 @@ jobs:
macos:
runs-on: macos-latest
if: github.ref_name == 'main'
if: github.event_name == 'push'
steps:
- name: Checkout git repo
uses: actions/checkout@v3