Add TS support for JSDoc #2546
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |