Skip to content

chore: replace eslint and prettier with biome #123

chore: replace eslint and prettier with biome

chore: replace eslint and prettier with biome #123

Workflow file for this run

name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 20.15
uses: actions/setup-node@v3
with:
node-version: "20.15"
- name: Cache npm
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install packages
run: npm ci
- name: Check lint and format errors
run: npm run check:ci
- name: Run tests
run: npm run test:cov
env:
CI: "true"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3