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 15, 2023
1 parent e1ea115 commit 8392073
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 8392073

Please sign in to comment.