Update workflow.yml

This commit is contained in:
lowlighter
2021-04-28 23:27:27 +02:00
parent 41980b77f5
commit 40bdaecba4

View File

@@ -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