Update workflow.yml
This commit is contained in:
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
@@ -41,7 +41,9 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Setup Dprint
|
- name: Setup Dprint
|
||||||
run: curl -fsSL https://dprint.dev/install.sh | sh
|
run: |
|
||||||
|
curl -fsSL https://dprint.dev/install.sh | sh
|
||||||
|
PATH="/home/runner/.dprint/bin:$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' }}
|
||||||
@@ -74,7 +76,9 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Setup Dprint
|
- name: Setup Dprint
|
||||||
run: curl -fsSL https://dprint.dev/install.sh | sh
|
run: |
|
||||||
|
curl -fsSL https://dprint.dev/install.sh | sh
|
||||||
|
PATH="/home/runner/.dprint/bin:$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