Skip to content

Copy over v3.2.0 changelog updates #447

Copy over v3.2.0 changelog updates

Copy over v3.2.0 changelog updates #447

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install
- run: make
- uses: actions/[email protected]
with:
name: build-output
path: |
lib
examples/**/*.js
test:
# Perhaps in the future we'll bring back matrix testing so we'll leave the support in.
name: Test against React (@v${{ matrix.react_version }})
needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
react_version:
- '18'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install
# Only testing with one version of React, as specified in dependencies.
# - name: Install React deps (@v${{ matrix.react_version }})
# run: pnpm add -D --no-lockfile react@${{ matrix.react_version }} react-dom@${{ matrix.react_version }}
- run: pnpm test
lint:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install
- run: pnpm lint
typecheck:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install
- uses: actions/download-artifact@v4
with:
name: build-output
- run: pnpm typecheck