Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use autofix.ci #31534

Merged
merged 8 commits into from
Jan 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: configure NPM_CONFIG_PREFIX and PATH
  • Loading branch information
suzuki-shunsuke committed Jan 30, 2025
commit 2b337df28f8cfd299a4b84894f9794b694f8f24e
3 changes: 3 additions & 0 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Fix newlines
run: git ls-files | xargs nllint -f -s

- name: Configure NPM_CONFIG_PREFIX
run: echo NPM_CONFIG_PREFIX="$HOME/npm-global" >> "$GITHUB_ENV"
- run: echo "$NPM_CONFIG_PREFIX/bin" >> "$GITHUB_PATH"
- name: Install prettier
run: npm i -g prettier
- name: Format code by prettier
Expand Down
Loading