Skip to content

fix: properly detect and install yarn@>1 and pnpm@<7 (#190) #342

fix: properly detect and install yarn@>1 and pnpm@<7 (#190)

fix: properly detect and install yarn@>1 and pnpm@<7 (#190) #342

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: pnpm install
- name: Lint
run: pnpm run lint
- name: Test
run: pnpm run test