Skip to content

feat: Ability to configure cache folder #666

feat: Ability to configure cache folder

feat: Ability to configure cache folder #666

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
# `setup-node` already caches npm
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build package
run: pnpm run build
- name: Run Test
run: pnpm run test:ci