File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 2727 ref : master
2828 - name : Format code
2929 run : |
30- npm install -g dprint
30+ npm ci
3131 mkdir -v -p /home/runner/.cache/dprint/cache
3232 npx dprint fmt --config .github/config/dprint.json
3333 - name : Publish formatted code
3838 git add --all
3939 git commit -m "chore: code formatting"
4040 git push
41- set -e
4241
4342 # Update plugins and template indexes, along with README.md
4443 update-indexes :
Original file line number Diff line number Diff line change 3636 steps :
3737 - name : Checkout repository
3838 uses : actions/checkout@v4
39- - name : Format code with dprint
40- run : |
41- npm install -g dprint
42- mkdir -v -p /home/runner/.cache/dprint/cache
43- npx dprint fmt --config .github/config/dprint.json
4439 - name : Build gh-metrics/metrics:${{ github.head_ref || 'master' }}
4540 env :
4641 GIT_REF : ${{ github.head_ref || 'master' }}
Original file line number Diff line number Diff line change 104104.tern-port
105105
106106# User settings
107- settings.json
107+ / settings.json
108108
109109# Community templates
110110source /templates /.community
Original file line number Diff line number Diff line change 1+ {
2+ "recommendations" : [
3+ " dprint.dprint"
4+ ]
5+ }
Original file line number Diff line number Diff line change 1+ {
2+ "editor.defaultFormatter" : " dprint.dprint"
3+ }
You can’t perform that action at this time.
0 commit comments