Skip to content

Simplify branch protect interface (#6688) #6228

Simplify branch protect interface (#6688)

Simplify branch protect interface (#6688) #6228

Workflow file for this run

name: Node
on:
push:
paths:
- "webui/**"
branches:
- master
pull_request:
paths:
- "webui/**"
jobs:
test:
name: Test React App
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.17.0"
cache: "npm"
cache-dependency-path: webui/package-lock.json
- name: install UI dependencies
run: npm ci
working-directory: ./webui
- name: run UI lint
run: npm run lint
working-directory: ./webui
- name: run UI tests
run: npm test
env:
CI: true
working-directory: ./webui