Fix dprint path in workflow
This commit is contained in:
3
.github/workflows/workflow.yml
vendored
3
.github/workflows/workflow.yml
vendored
@@ -43,8 +43,7 @@ jobs:
|
|||||||
- name: Format code with dprint
|
- name: Format code with dprint
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://dprint.dev/install.sh | sh
|
curl -fsSL https://dprint.dev/install.sh | sh
|
||||||
echo "$HOME/.dprint/bin" >> $GITHUB_PATH
|
/home/runner/.dprint/bin/dprint fmt --config .github/config/dprint.json
|
||||||
dprint fmt --config .github/config/dprint.json
|
|
||||||
npm run format
|
npm run format
|
||||||
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
||||||
run: docker build -t lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') .
|
run: docker build -t lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') .
|
||||||
|
|||||||
Reference in New Issue
Block a user