Skip to content

Merge pull request #62 from valbeat/dependabot/npm_and_yarn/chromatic… #164

Merge pull request #62 from valbeat/dependabot/npm_and_yarn/chromatic…

Merge pull request #62 from valbeat/dependabot/npm_and_yarn/chromatic… #164

Workflow file for this run

name: 🧪 Test
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Corepack enable
run: corepack enable
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
cache: "pnpm"
- name: 📥 Install
run: pnpm i --frozen-lockfile
- name: 🧹 Lint
run: pnpm check && pnpm typecheck
- name: 🏗 Build
run: pnpm build
- name: 🧪 Unit Test
run: pnpm test