Skip to content

dependencies: bump knip from 5.30.1 to 5.30.2 #3140

dependencies: bump knip from 5.30.1 to 5.30.2

dependencies: bump knip from 5.30.1 to 5.30.2 #3140

Workflow file for this run

#
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.
#
name: xpanse-ui
# Run this workflow every time a new commit push to the repository
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check if package-lock.json is up to date
run: npx --yes [email protected]
- name: Install all required NPM packages
working-directory: ./
run: npm install
- name: Run EsLint
working-directory: ./
run: npx eslint . --ext .js,.jsx,.ts,.tsx --config package.json --max-warnings=0
- name: Check Prettier Format
working-directory: ./
run: npx prettier --config .prettierrc --check .
- name: Run knip
working-directory: ./
run: npx knip
- name: Run unit tests
working-directory: ./
run: npm run test
- name: Run TSC
working-directory: ./
run: tsc