feat: assert
-based benchmarks and utility
#130
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [22] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Check for yarn.lock changes | |
run: | | |
git diff --exit-code yarn.lock | |
- name: Check for duplicates in yarn.lock | |
run: yarn deduplicate | |
- name: Check formatting | |
run: yarn fmt:check | |
- name: Check spelling | |
run: yarn spell:check | |
- name: ESLint | |
run: yarn lint:es | |
- name: Build | |
run: yarn build | |
- name: Type check | |
run: yarn tsc --noEmit | |
- name: Run Misti | |
run: yarn misti --min-severity medium ./tact.config.json | |
- name: Run tests | |
run: yarn test | |
- name: Run benchmarks | |
run: yarn bench:ci |