Skip to content

build(deps): bump actions/setup-node from 4.1.0 to 4.2.0 (#1712) #4114

build(deps): bump actions/setup-node from 4.1.0 to 4.2.0 (#1712)

build(deps): bump actions/setup-node from 4.1.0 to 4.2.0 (#1712) #4114

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
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@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js 20.x
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: 20.x
- name: Run NPM CI
run: npm install
- name: Run Lint
run: npm run lint
- name: Run Prettier Check
run: npm run ci-prettify
- name: Run Test
run: npm run test-ci
- uses: codecov/codecov-action@0da7aa657d958d32c117fc47e1f977e7524753c7 # v5.3.0
name: Upload Coverage Results
with:
directory: ./coverage
- name: Run Build
run: npm run build
- name: Upload Karma Results
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: ui-toolkit-angular-unit
path: '**/ui-toolkit-angular.xml'