Sign typed data (#20) #61
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 | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [lts/*] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9.0.6 | |
- name: Setup node env | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: typecheck | |
run: pnpm run typecheck | |
- name: lint | |
run: pnpm run lint | |
- name: build | |
run: pnpm run build |