ci: improve code auto-formatting [skip ci]
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -33,7 +33,6 @@ jobs:
|
||||
- name: Format code
|
||||
run: |
|
||||
dprint fmt --config .github/config/dprint.json
|
||||
npm run format
|
||||
- name: Publish formatted code
|
||||
run: |
|
||||
set +e
|
||||
|
||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -43,7 +43,6 @@ jobs:
|
||||
cp /home/runner/.dprint/bin/dprint /usr/local/bin/dprint
|
||||
npm install -g eslint
|
||||
dprint fmt --config .github/config/dprint.json
|
||||
npm run format
|
||||
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
|
||||
run: docker build -t lowlighter/metrics:$(echo ${{ github.head_ref || 'master' }} | sed 's/\//-/g') .
|
||||
- name: Run tests
|
||||
|
||||
Reference in New Issue
Block a user