Skip to content

project setup files

project setup files #1

Workflow file for this run

name: Pre-deploy Workflow
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Clean Installation of Dependencies
run: pnpm install
- name: Run Lint
run: pnpm lint
- name: Format Code
run: pnpm format
- name: Build
run: pnpm build