Skip to content

Update main.yml

Update main.yml #224

Workflow file for this run

name: CI
on: [push]
jobs:
build:
name: Build & test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: 8.9.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build package
run: pnpm --filter react-hot-toast build
- name: Test
run: pnpm --filter react-hot-toast run test --ci --coverage