Skip to content

feat: Ability to configure cache folder #140

feat: Ability to configure cache folder

feat: Ability to configure cache folder #140

name: Jest Preview Ecosystem CI
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
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 Tests on some examples
run: pnpm run ecosystem-ci