Skip to content

Update @prefecthq/prefect-ui-library to version 3.11.16 (#15956) #41

Update @prefecthq/prefect-ui-library to version 3.11.16 (#15956)

Update @prefecthq/prefect-ui-library to version 3.11.16 (#15956) #41

Workflow file for this run

name: UI v2 Checks
on:
pull_request:
paths:
- .github/workflows/ui-v2-checks.yml
- ui-v2/**
- .nvmrc
push:
branches:
- main
permissions:
contents: read
# Limit concurrency by workflow/branch combination.
#
# For pull request builds, pushing additional changes to the
# branch will cancel prior in-progress and pending builds.
#
# For builds triggered on a branch push, additional changes
# will wait for prior builds to complete before starting.
#
# https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build-ui:
name: Build ui
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache-dependency-path: "**/package-lock.json"
- name: Install UI dependencies
working-directory: ./ui-v2
run: npm ci install
- name: Check formatting
working-directory: ./ui-v2
run: npm run format:check
- name: Lint
working-directory: ./ui-v2
run: npm run lint
- name: Build UI
working-directory: ./ui-v2
run: npm run build