Skip to content

Replace NPM with PNPM #432

Replace NPM with PNPM

Replace NPM with PNPM #432

Workflow file for this run

name: Build and test
on: [pull_request, push]
jobs:
all:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Install dependencies
run: pnpm install
- name: Typescript check
run: pnpm tsc
- name: Vue linter
run: pnpm lint:ci
env:
NODE_ENV: production
- name: Build project
run: pnpm build
- name: Run tests
run: pnpm test