Skip to content

feat: use pnpm

feat: use pnpm #1289

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
DISCORD_SNOWFLAKE: ${{ vars.DISCORD_SNOWFLAKE }}
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/[email protected]
- uses: pnpm/action-setup@v4
- uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --prefer-offline
- name: Run build
run: pnpm build