Skip to content

Upgrade pytest (#2434) #1494

Upgrade pytest (#2434)

Upgrade pytest (#2434) #1494

Workflow file for this run

name: Admin UI
on:
push:
branches: [master]
pull_request:
paths:
- adminui/**
- .github/workflows/adminui.yml
jobs:
build-and-test-adminui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'yarn'
- name: Cache node_modules
uses: actions/cache@v4
id: cached-node_modules
with:
path: |
adminui/node_modules
key: ${{ runner.os }}-${{ hashFiles('adminui/yarn.lock') }}-${{ hashFiles('.github/workflows/adminui.yml') }}
- name: Install yarn packages
if: steps.cached-node_modules.outputs.cache-hit != 'true'
working-directory: adminui
run: yarn --frozen-lockfile
- name: Build
working-directory: adminui
run: yarn run build