Skip to content

feat: wrap ipc API #210

feat: wrap ipc API

feat: wrap ipc API #210

Workflow file for this run

name: Regular Workflows
on:
push:
branches:
- '**'
- '!changelog'
- '!changelog/*'
- '!docs'
- '!docs/*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PNPM environment
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm run build
- name: Do typecheck
run: pnpm run typecheck
lint:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PNPM environment
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Build scripts
run: pnpm run build:scripts
- name: Build packages
run: pnpm run build:app-common
- name: Lint
run: pnpm run lint
test:
timeout-minutes: 15
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PNPM environment
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
- name: Build scripts
run: pnpm run build:scripts
- name: Build packages
run: pnpm run build:app-common
- name: Do coverage test
run: pnpm run test-full