Skip to content

Internal: Switch from yarn to pnpm #488

Internal: Switch from yarn to pnpm

Internal: Switch from yarn to pnpm #488

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
node: [16.x, 18.x, 20.x]
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
# Pulls version from packageManager key in package.json
- name: Setup pnpm
uses: pnpm/action-setup@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm install
- name: Build
run: pnpm compile
- name: Test
run: pnpm test
- name: Check formatting
run: pnpm format:check