Skip to content

Preact >= 10.18.2 compatability #934

Preact >= 10.18.2 compatability

Preact >= 10.18.2 compatability #934

Workflow file for this run

name: test-preact-x
on:
pull_request:
branches:
- 'main'
push:
branches:
- main
jobs:
build_test:
name: Build & Test Preact X
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-store
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Use pnpm store
uses: actions/cache@v3
id: pnpm-cache
with:
path: ${{ steps.pnpm-store.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install Dependencies
run: pnpm install --frozen-lockfile && node ./node_modules/puppeteer/install.js
- name: Build packages
run: yarn build
- name: Run tests
run: yarn test
env:
CI: false