Skip to content

Adding code quality tools like eslint, coverage report, editorconfig. Added replace method #8

Adding code quality tools like eslint, coverage report, editorconfig. Added replace method

Adding code quality tools like eslint, coverage report, editorconfig. Added replace method #8

Workflow file for this run

name: Tests & Coverage
on:
push:
branches: [main, next]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests with coverage
run: pnpm run coverage
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}