Skip to content

Commit

Permalink
chore: only run publish after tests have completed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Jul 3, 2024
1 parent 913773b commit 58247e9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Publish Package to npmjs
on:
push:
branches:
- canary
- "*.x"
workflow_run:
workflows:
- 'Run Tests'
branches: ["canary", "*.x"]
types:
- completed
workflow_dispatch:
jobs:
build:
Expand Down

0 comments on commit 58247e9

Please sign in to comment.