build(deps): Bump docker/setup-buildx-action from 4.2.0 to 4.3.0 #8231
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #********************************************************************* | |
| # Copyright (c) Intel Corporation 2020 | |
| # SPDX-License-Identifier: Apache-2.0 | |
| #*********************************************************************/ | |
| # 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: [22.x] | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run ci-prettify | |
| if: ${{ matrix.node-version == '20.x' }} | |
| - run: npm run compile --if-present | |
| - run: npm test | |
| - name: Test Report | |
| uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v1 | |
| if: success() || failure() # run this step even if previous step failed | |
| continue-on-error: true | |
| with: | |
| name: Vitest Tests # Name of the check run which will be created | |
| path: junit.xml # Path to test results (vitest junit reporter output) | |
| reporter: java-junit # Vitest emits standard JUnit XML; dorny parses this with java-junit | |
| fail-on-error: 'false' | |
| - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 | |
| name: Upload Coverage Results | |
| if: ${{ matrix.node-version == '20.x' }} | |
| - name: Rename test file | |
| run: mv junit.xml mps-unit-${{ matrix.node-version }}.xml | |
| - name: Upload Vitest Results | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: mps-unit-${{ matrix.node-version }} | |
| path: mps-unit-${{ matrix.node-version }}.xml |