mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
Enable CI on version branches
This commit is contained in:
parent
62a74eb660
commit
2cd77aefeb
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue