Skip to content

Commit

Permalink
v0.27.0
Browse files Browse the repository at this point in the history
should check linting too
  • Loading branch information
nmanu1 committed Oct 30, 2023
1 parent 86061a5 commit a9248ea
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,21 @@ jobs:
echo "Error running the bump-version.mjs script."
cat temp-bump-versions.txt
exit 1
# - uses: ./.github/setup-ci
# - name: check linting
# run: |
# npm run autofix
# if git diff --exit-code
# exit 0
# fi
# echo "Found unexpected git diff from running `npm run autofix`."
# exit 1
# - name: run tests
# uses: ./.github/workflows/run-tests.yml
check-linting:
needs: check-for-release
if: needs.check-for-release.outputs.status == 'success'
steps:
- uses: actions/checkout@v3
- uses: ./.github/setup-ci
- name: check linting
run: |
npm run autofix
if git diff --exit-code
exit 0
fi
echo "Found unexpected git diff from running `npm run autofix`."
exit 1
run-tests:
needs: check-for-release
Expand Down

0 comments on commit a9248ea

Please sign in to comment.