Skip to content

Commit

Permalink
Add yarn install step in js_lint workflow to ensure dependencies are …
Browse files Browse the repository at this point in the history
…up to date
  • Loading branch information
dannon committed Feb 11, 2025
1 parent d91fe36 commit 07e5639
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 586 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/js_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
- run: yarn install --frozen-lockfile
working-directory: client
# Run vue-tsc on the base branch and capture its error count.
- name: Run vue-tsc on base branch
id: baseline
Expand All @@ -60,7 +62,6 @@ jobs:
BASE_ERRORS=$(grep -oE 'Found [0-9]+ errors' baseline.log | head -1 | grep -oE '[0-9]+' || echo 0)
echo "Baseline vue-tsc errors: $BASE_ERRORS"
echo "baseline_errors=$BASE_ERRORS" >> $GITHUB_OUTPUT
# Compare the error counts between the PR branch and the base branch.
- name: Compare vue-tsc error counts
run: |
Expand Down
Loading

0 comments on commit 07e5639

Please sign in to comment.