Skip to content

Commit

Permalink
move needs to job
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane committed Dec 20, 2023
1 parent 86cf1d3 commit 75ae2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

release:
name: Release
needs: test
runs-on: ubuntu-latest

permissions:
Expand All @@ -41,7 +42,6 @@ jobs:
run: npm ci
- name: Release
if: branch = master
needs: test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 75ae2b0

Please sign in to comment.