Skip to content

Flows 2.0 React SDK #736

Flows 2.0 React SDK

Flows 2.0 React SDK #736

Workflow file for this run

name: Code Checks
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm js build
- run: pnpm tsc
jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
playwright:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm js build
- run: pnpm e2e playwright:docker
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: workspaces/e2e/test-results/
retention-days: 30