Skip to content

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 #1413

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 #1413

Workflow file for this run

name: Test
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
# 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
jobs:
# This workflow contains a single job called "build"
build:
permissions:
contents: read
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node-version: [20, 22, 24, 25]
architecture:
- x64
name: Node ${{ matrix.node-version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
# 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
- uses: actions/checkout@v6.0.3
- name: Setup Node.js environment
uses: actions/setup-node@v6.3.0
with:
node-version: ${{ matrix.node-version }}
architecture: ${{ matrix.architecture }}
# Runs a single command using the runners shell
- name: Install dependencies
run: npm install
# Runs a set of commands using the runners shell
- name: Run the tests
run: npm test
# Report Coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ matrix.os }}_${{ matrix.architecture }}_node${{ matrix.node-version }},unit
directory: ./reports/coverage/
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ matrix.os }}_${{ matrix.architecture }}_node${{ matrix.node-version }},unit
file: ./reports/junit.xml