Update workflow.yml
This commit is contained in:
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
|||||||
- name: Setup Dprint
|
- name: Setup Dprint
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://dprint.dev/install.sh | sh
|
curl -fsSL https://dprint.dev/install.sh | sh
|
||||||
PATH="/home/runner/.dprint/bin:$PATH"
|
echo "$HOME/.dprint/bin" >> $GITHUB_PATH
|
||||||
- name: Format code
|
- name: Format code
|
||||||
run: npm run fmt
|
run: npm run fmt
|
||||||
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
- name: Setup Dprint
|
- name: Setup Dprint
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://dprint.dev/install.sh | sh
|
curl -fsSL https://dprint.dev/install.sh | sh
|
||||||
PATH="/home/runner/.dprint/bin:$PATH"
|
echo "$HOME/.dprint/bin" >> $GITHUB_PATH
|
||||||
- name: Format code
|
- name: Format code
|
||||||
run: npm run fmt
|
run: npm run fmt
|
||||||
- name: Publish formatted code
|
- name: Publish formatted code
|
||||||
|
|||||||
Reference in New Issue
Block a user