Skip to content

chore: fix scripts

chore: fix scripts #2

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 8
- name: Set node version to 16
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile && node scripts/bootstrap.mjs
- name: Run linter
run: pnpm lint
- name: Run test cases
run: pnpm test:coverage
- name: Report coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}