Skip to content

Merge pull request #13 from falsepopsky/dev #25

Merge pull request #13 from falsepopsky/dev

Merge pull request #13 from falsepopsky/dev #25

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
PNPM_VERSION: 9.0.6
jobs:
lint:
name: ⬣ Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup Node
uses: actions/[email protected]
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/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- name: Setup Node
uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm build