Skip to content

refactor(scanner)!: migrate to npm-registry-sdk V3 and enhance types #502

refactor(scanner)!: migrate to npm-registry-sdk V3 and enhance types

refactor(scanner)!: migrate to npm-registry-sdk V3 and enhance types #502

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: build dependencies
run: npm run build
- name: Run tests
run: npm run test