Skip to content

Initial commit

Initial commit #25

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: ⎔ Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: 📥 Install dependencies
run: pnpm install
- name: 🧹 Lint
run: pnpm lint
typecheck:
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: ⎔ Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: 📥 Install dependencies
run: pnpm install
- name: ʦ Typecheck
run: pnpm typecheck