Skip to content

feat: use pnpm

feat: use pnpm #105

Workflow file for this run

name: Node CI
on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v1
- uses: pnpm/action-setup@v2
with:
version: 8.13.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{ matrix.node-version }}
- name: build and test
run: |
pnpm test
env:
CI: true