Skip to content

🔒 [security fix] Fix JSONP memory leak with hybrid cleanup strategy #353

🔒 [security fix] Fix JSONP memory leak with hybrid cleanup strategy

🔒 [security fix] Fix JSONP memory leak with hybrid cleanup strategy #353

Workflow file for this run

name: Node.js CI
permissions:
contents: read
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["lts/*", "latest"]
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- run: pnpm run build
- run: pnpm exec vitest --coverage.enabled true
- name: "Report Coverage"
if: matrix.node-version == 'lts/*'
uses: davelosert/vitest-coverage-report-action@8ab049ff5a2c6e78f78af446329379b318544a1a # v2.8.3