Skip to content

ci: Workflow Bot -- Update ALL Dependencies (main) #1024

ci: Workflow Bot -- Update ALL Dependencies (main)

ci: Workflow Bot -- Update ALL Dependencies (main) #1024

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Test
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test-node-versions:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [20.x, 22.x, 24.x]
os:
- ubuntu-latest
include:
- os: windows-latest
node-version: 24.x
- os: macos-latest
node-version: 24.x
steps:
- uses: actions/checkout@v6
- name: Setup
uses: streetsidesoftware/actions/public/setup-node-pnpm@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install - Build - Test
run: |
pnpm i
pnpm run build
pnpm test
- name: Test --register
if: matrix.node-version != '20.x'
run: |
pnpm run test:register
coverage:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
runs-on: ${{ matrix.os }}
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [24.x]
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup
uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}
- run: pnpm i
- run: pnpm run build
- run: pnpm run coverage
- name: Upload coverage Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # 2.3.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: "packages/perf-insight"
path-to-lcov: "./packages/perf-insight/coverage/lcov.info"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v3
with:
files: packages/perf-insight/coverage/lcov.info