Feat: add @clarigen/test
library for writing unit tests with Clarinet SDK.
#55
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
name: Pull Request | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
code_checks: | |
name: Code checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 7.25.1 | |
- name: Set Node Version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.13.0 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Yarn --force | |
run: pnpm install | |
- name: Build packages | |
run: pnpm build | |
- name: Lint | |
run: pnpm lint | |
- name: Type checks | |
run: pnpm typecheck | |
- name: Tests | |
run: pnpm test |