Skip to content

chore(deps): update zgosalvez/github-actions-report-lcov action to v4 #532

chore(deps): update zgosalvez/github-actions-report-lcov action to v4

chore(deps): update zgosalvez/github-actions-report-lcov action to v4 #532

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- canary
- "*.x"
- 'main'
push:
branches:
- canary
- "*.x"
- main
permissions:
contents: read
checks: write
pull-requests: write
jobs:
test-node:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: NPM Audit
run: npx audit-ci
- name: Install Node Modules
run: npm ci
- name: Run Tests and Linting
run: npm run test
- uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.node-version }}
path: test/reports/
test-bun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install Bun Packages
run: bun install --no-save
- name: Run Bun Tests
run: bun run test