Skip to content

ci: split up jobs into separate pipelines #2

ci: split up jobs into separate pipelines

ci: split up jobs into separate pipelines #2

Workflow file for this run

name: Build
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: 🛎️ Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0 # All history for branches and tags
- name: 📦 Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: 🛠️ Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node-version }}'
cache: pnpm
- name: 📂 Install Dependencies
run: pnpm i
- name: 🧐 Check Code Quality
run: pnpm lint
- name: 📔 Build Storybook
run: pnpm build-storybook --quiet
- name: 🏗️ Build Project
# env:
# SANITY_API_READ_TOKEN: ${{ secrets.SANITY_API_READ_TOKEN }}
run: pnpm build
- name: 🤖 Run Semantic Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: pnpm exec semantic-release
- name: 💰 Profit
run: echo 🐞