Skip to content

v0.92.0

v0.92.0 #2978

Workflow file for this run

name: Test
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
react-version: [ 16.14.0, 17, 18 ]
steps:
- uses: actions/checkout@v2
- name: Setup Environment
uses: prezly/setup-github-actions@v1
with:
node: ${{ matrix.node-version }}
pnpm: "8.4.0"
- name: Set React ${{ matrix.react-version }}
uses: prezly/pnpm-overrides-action@v1
with:
'@types/react': "${{ matrix.react-version }}"
'@types/react-dom': "${{ startsWith(matrix.react-version, '16.') && '16.9.9' || matrix.react-version }}"
'react': "${{ matrix.react-version }}"
'react-dom': "${{ matrix.react-version }}"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- run: pnpm build
- run: pnpm test