Skip to content

test(repo): add smoke-v2 Playwright suite #618

test(repo): add smoke-v2 Playwright suite

test(repo): add smoke-v2 Playwright suite #618

Workflow file for this run

name: CLI Tests
on:
workflow_dispatch:
pull_request:
types:
- edited
- opened
- synchronize
push:
branches:
- '*'
- '!main'
jobs:
validate:
runs-on: ubuntu-latest
name: CLI Tests
steps:
- name: Checkout Commit
uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Checkout Main
run: |
git fetch origin
git branch -f main origin/main
- name: Setup
uses: ./.github/actions/setup
- name: Build Projects
run: |
moon jsx-email:build
moon create-mail:build
moon run :build --query "project~plugin-*"
- name: Run Tests
# Note: We're running `pnpm i` again so that pnpm places the `email` bin in root node_modules
# We'll need that for the preview tests below
run: |
pnpm i
moon test-cli:test.run