Skip to content

feat: integrate gl-react-image into the monorepo #177

feat: integrate gl-react-image into the monorepo

feat: integrate gl-react-image into the monorepo #177

Workflow file for this run

name: CI cookbook
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
# Build gl-react packages (needed by cookbook)
- name: Build gl-react packages
run: |
for d in packages/gl-react packages/gl-react-dom; do
pnpm exec babel --root-mode upward --source-maps --extensions '.ts,.tsx' -d "$d/lib" "$d/src"
done
# Install Playwright browsers
- name: Install Playwright
run: pnpm --filter gl-react-cookbook e2e:install
# Run Playwright tests
- name: Run Playwright tests
run: pnpm --filter gl-react-cookbook e2e
# Upload test results on failure
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cookbook-test-results
path: packages/cookbook/test-results/
retention-days: 7