Skip to content

Commit

Permalink
ci: build cli prior to running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 6, 2022
1 parent cd3de5d commit bb354b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:

- name: Test
id: test
run: yarn test
run: |
yarn build:cli # Needed for CLI tests
yarn test
env:
SANITY_CI_CLI_AUTH_TOKEN: ${{ secrets.SANITY_CI_CLI_AUTH_TOKEN }}

0 comments on commit bb354b6

Please sign in to comment.