Skip to content

Commit

Permalink
ci: build before lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jojomatik committed Feb 8, 2024
1 parent 19a6701 commit 0e17498
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Lint
run: yarn lint
run: yarn lint
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Lint
run: yarn lint

Expand Down Expand Up @@ -89,4 +91,4 @@ jobs:
target: "updates"
git_committer_name: ${{ secrets.BUMP_GIT_NAME }}
git_committer_email: ${{ secrets.BUMP_GIT_EMAIL }}
github_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GH_TOKEN }}

0 comments on commit 0e17498

Please sign in to comment.