Skip to content

refactor: updated the library components to latest functions, rewrote… #4213

refactor: updated the library components to latest functions, rewrote…

refactor: updated the library components to latest functions, rewrote… #4213

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
contents: read
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
permissions:
contents: write # for Git to git push
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Use Node.js 24.x
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version: 24.x
- name: Run NPM CI
run: npm install
- name: Run Lint
run: npm run lint
- name: Run Test
run: npm run test
- name: Run Coverage
run: npm run coverage
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
name: Upload Coverage Results
with:
directory: ./coverage/
- name: Run Build Dev
run: npm run build
- name: Run Build Externals
run: npm run build-ext
- run: mv junit.xml ui-toolkit-react-unit.xml
- name: Upload JEST Results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: ui-toolkit-react-unit
path: ui-toolkit-react-unit.xml