Skip to content

Create registry class helper (#22) #28

Create registry class helper (#22)

Create registry class helper (#22) #28

name: Typescript CI
on:
workflow_call:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint and check formatting
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Run eslint
run: pnpm lint
- name: Check formatting
run: pnpm format-check
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: npm
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm test