Skip to content

refactor: use nullish coalescing assignment #1408

refactor: use nullish coalescing assignment

refactor: use nullish coalescing assignment #1408

Workflow file for this run

name: coverage
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
coverage:
runs-on: ubuntu-latest
env:
NODE_VERSION: '18'
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build source code
run: pnpm build
- name: Test coverage
run: pnpm test:cov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}