Skip to content

Dependabot Updates #214

Dependabot Updates

Dependabot Updates #214

Workflow file for this run

name: Lint UI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set up Node environment
uses: actions/setup-node@v4.0.2
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
working-directory: ui
- name: Run Linting
run: npm run lint
working-directory: ui
- name: Check static files uncommitted
run: |
npm run buildCopy
if [[ $(git status --porcelain) ]]; then
echo "There are uncommitted changes."
git diff
exit 1
else
echo "No uncommitted changes found."
fi
working-directory: ui