Skip to content

Merge pull request #20 from falsepopsky/dev #40

Merge pull request #20 from falsepopsky/dev

Merge pull request #20 from falsepopsky/dev #40

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: ⬣ Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run lint
run: pnpm lint
build:
name: 🏗️ Build
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm build