Skip to content

switch to pnpm

switch to pnpm #512

name: 'Build and Lint on Pull Requests'
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build application
run: pnpm run build
- name: Check for ESLint warnings and errors
run: pnpm run lint