Skip to content

enable corepack

enable corepack #8

name: Code Quality
on:
push:
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: "https://registry.npmjs.org"
- name: Enable Corepack
run: corepack enable
- name: Install yarn
run: |
npm i yarn -g
yarn install
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci .
- name: Run TypeScript Check
run: npx tsc --noEmit