Skip to content

Commit

Permalink
make continues-release depends on test
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Nov 4, 2024
1 parent f670e69 commit 8953ab8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Test

on:
- push
- pull_request
pull_request:
push:
branches:
- main

jobs:
test:
Expand Down Expand Up @@ -32,8 +34,9 @@ jobs:
chromatic_token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

continuous-release:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
Expand Down

0 comments on commit 8953ab8

Please sign in to comment.