Skip to content

feat: make homepage content dynamic #21

feat: make homepage content dynamic

feat: make homepage content dynamic #21

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request: {}
env:
NEXT_PUBLIC_STRAPI_API_URL: ${{ secrets.NEXT_PUBLIC_STRAPI_API_URL }}
concurrency:
group: ${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: 🧊 Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: 📥 Download deps
run: pnpm install
- name: 🔬 Lint
run: pnpm lint:strict
typecheck:
name: ʦ TypeScript
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: 🧊 Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: 📥 Download deps
run: pnpm install
- name: 🔎 Type check
run: pnpm typecheck
prettier:
name: 💅 Prettier
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: 🧊 Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: 📥 Download deps
run: pnpm install
- name: 💅 Prettier check
run: pnpm format:check
build:
name: 🏗 Build
runs-on: ubuntu-latest
needs: [lint, typecheck, prettier]
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 18
- name: 🧊 Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: 📥 Download deps
run: pnpm install
- name: 🏗 Build
run: pnpm build