feat: option to calculate with business days only and bump to version PFR-909 #543
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Main | |
on: | |
push: | |
branches: ['**'] | |
pull_request: | |
branches: ['**'] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: '.tmp' | |
key: ${{ runner.os }}-isolatetmp | |
restore-keys: | | |
${{ runner.os }}-isolatetmp | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install packages | |
run: pnpm install | |
- name: Dependency audit | |
run: pnpm audit --prod | |
- name: Lint | |
run: pnpm lint | |
- name: Prettier | |
run: pnpm prettier:check | |
- name: Test | |
run: pnpm test | |
- name: Test isolate | |
run: | | |
pnpm add -g @betty-blocks/cli | |
pnpm test:isolate |