3.2.0 #229
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] | |
jobs: | |
lint: | |
name: 🧶 Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
node-version: 20 | |
- name: 📥 Install deps | |
run: npm ci | |
- name: 🔬 Lint | |
run: npm run lint | |
typecheck: | |
name: 👮🏻♂️ Typecheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
node-version: 20 | |
- name: 📥 Install deps | |
run: npm ci | |
- name: 🔎 Type check | |
run: npm run typecheck | |
test: | |
name: 🧪 Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
node-version: 20 | |
- name: 📥 Install deps | |
run: npm ci | |
- name: 🔬 Test | |
run: npm run test | |
build: | |
name: 📦 Build and verify | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v3 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
node-version: 20 | |
- name: 📥 Install deps | |
run: npm ci | |
- name: 🏗️ Build library | |
run: npm run build | |
- name: 🔬 Verify build | |
run: npm run build:verify |