Skip to content

Commit

Permalink
feat: add biome git workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Daaaai0809 committed Apr 18, 2024
1 parent 1421fdc commit 0f05e53
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/biome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Code quality

on:
push:
pull_request:

jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- uses: pnpm/action-setup@v2
with:
version: '9.0.1'
run_install: true

- name: cache lockfile
uses: actions/cache@v3
with:
path: |
node_modules
.pnpm
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: check
run: pnpm check

0 comments on commit 0f05e53

Please sign in to comment.