Skip to content

ci: add basic workflow #4

ci: add basic workflow

ci: add basic workflow #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: "build package"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- run: cd lib
- run: echo $(pwd)
- run: pnpm install
- run: cd lib && pnpm build
static:
name: "static checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- run: cd lib
- run: pnpm install
- run: pnpm typecheck
- run: pnpm format
- run: pnpm lint