Skip to content

build(deps-dev): bump diff from 8.0.2 to 8.0.3 (#1569) #4451

build(deps-dev): bump diff from 8.0.2 to 8.0.3 (#1569)

build(deps-dev): bump diff from 8.0.2 to 8.0.3 (#1569) #4451

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
steps:
- 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 ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node-version }}
- name: Install system dependencies for canvas
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build-ext
- run: npm run coverage
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
name: Upload Coverage Results
- run: mv junit.xml ui-toolkit-unit-${{ matrix.node-version }}.xml
- name: Upload JEST Results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: ui-toolkit-unit-${{ matrix.node-version }}
path: ui-toolkit-unit-${{ matrix.node-version }}.xml