Skip to content

Updated readme

Updated readme #282

Workflow file for this run

name: TypeScript CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
unitTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: 8.8.0
- name: Install dependencies
run: |
pnpm install
- name: Run tests
run: |
pnpm run coverage
ls -al coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: 1ebdc4b127391a8acbc3420eb585961e4e0846de
- name: Upload coverage to codecov
run: curl -s https://codecov.io/bash | bash