Skip to content

✨ Add pro init and explicit ID #2576

✨ Add pro init and explicit ID

✨ Add pro init and explicit ID #2576

Workflow file for this run

name: Lint & Test
on:
push:
branches:
- master
pull_request: {}
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: wyvox/action-setup-pnpm@v3
- name: Install dependencies
run: pnpm install
- name: Run linting
run: pnpm lint:js
typecheck:
name: Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: wyvox/action-setup-pnpm@v3
- name: Install dependencies
run: pnpm install
- name: Check types
run: pnpm types:check
test-unit:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: wyvox/action-setup-pnpm@v3
- name: Install Dependencies
run: pnpm install
# Run Jest
- name: Run Unit Tests
run: pnpm test:unit:ci
# - name: Publish code coverage
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
test-integration:
name: Run Integration Chrome Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: wyvox/action-setup-pnpm@v3
- name: Install Dependencies
run: pnpm install
- name: Install Cypress Binary
run: pnpm cypress install
- name: Build
run: pnpm build
- name: Install dependencies and setup Cypress
uses: cypress-io/github-action@v6
with:
command: pnpm test:cy:ci:chrome
install: false