Skip to content

Commit

Permalink
Check dprint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Aug 11, 2023
1 parent f68065f commit 829056f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,27 @@ jobs:
- name: Linter
run: npm run lint

format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '*'
check-latest: true
- run: npm ci

- uses: actions/cache@v3
with:
path: ~/.cache/dprint
key: ${{ runner.os }}-dprint-${{ hashFiles('package-lock.json', '.dprint.jsonc') }}
restore-keys: |
${{ runner.os }}-dprint-
- name: Check formatting
run: npx dprint check

browser-integration:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 829056f

Please sign in to comment.