Skip to content

chore: reorganize components for publishing #534

chore: reorganize components for publishing

chore: reorganize components for publishing #534

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
web-components:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/web-components
steps:
- name: checkout code
uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: ../../package-lock.json
- name: install dependencies
run: npm ci
- name: lint
run: npm run lint
smart-camera-web:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/smart-camera-web
steps:
- name: checkout code
uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: ../../package-lock.json
- name: install dependencies
run: npm ci
- name: lint
run: npm run lint
embed:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/embed
steps:
- name: checkout code
uses: actions/checkout@v4
- name: set node version
uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: ../../package-lock.json
- name: install dependencies
run: npm ci
- name: lint html
run: npm run lint:html