lm-piplines/.gitea/workflows/live_monitor_ui.yml

38 lines
733 B
YAML

name: live_monitor_ui
on:
push:
branches:
- main
- live_monitor_ts_workflow
pull_request:
branches:
- main
- live_monitor_ts_workflow
jobs:
lint:
name: lint
runs-on: 'ubuntu'
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: cd live_monitor_ts
run: cd live_monitor_ts
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '21.x'
- name: install yarn
run: npm install --global yarn
- name: install node_modules
run: npm install
working-directory: ./live_monitor_ts
- name: lint
run: npm run lint
working-directory: ./live_monitor_ts