[ehn] Refactor SmartCamera and SmartFileUpload #381
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
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@v3 | |
- 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@v3 | |
- name: install dependencies | |
run: npm ci | |
- name: lint html | |
run: npm run lint:html |