Skip to content

Commit

Permalink
ci: add code quality workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BearToCode committed Nov 7, 2023
1 parent 49aeafb commit 3d2055d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Code Quality

on: [push, pull_request]

permissions:
contents: read

jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v2
with:
version: 6

- name: Install dependendencies
run: pnpm i

- name: Build project
run: pnpm run build

- name: Run lint
run: pnpm run lint

- name: Run check
run: pnpm run check

0 comments on commit 3d2055d

Please sign in to comment.