Skip to content

ci: add build workflow #1

ci: add build workflow

ci: add build workflow #1

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.5.0
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --prod
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build