Internal: Switch from yarn to pnpm #488
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |