Skip to content

Development

Development #15

Workflow file for this run

name: App CI
on:
workflow_dispatch:
pull_request:
branches:
- main
- development
paths:
- "apps/app/**"
- "packages/theme/**"
push:
branches:
- main
- development
paths:
- "apps/app/**"
- "packages/theme/**"
jobs:
linting:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.0.6
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm lint
build:
name: Next Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.0.6
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Run build
run: pnpm app run build