1
0
mirror of https://github.com/actions/setup-node.git synced 2026-03-01 02:25:07 +08:00

Scope test lockfiles by package manager and update cache tests (#1495)

* fix security alerts

* fix security alerts

* address Copilot suggestions

---------

Co-authored-by: gowridurgad <gowridurgad@gmail.com>
This commit is contained in:
gowridurgad
2026-02-27 00:48:58 +05:30
committed by GitHub
parent c882bffdbd
commit 54045abd5d
11 changed files with 329 additions and 3350 deletions

15
.gitignore vendored
View File

@@ -93,3 +93,18 @@ typings/
# DynamoDB Local files
.dynamodb/
# Ignore everything inside fixture package-manager folders
__tests__/data/npm/**
__tests__/data/pnpm/**
__tests__/data/yarn/**
# Keep only fixture manifests + lockfiles
!__tests__/data/npm/package.json
!__tests__/data/npm/package-lock.json
!__tests__/data/pnpm/package.json
!__tests__/data/pnpm/pnpm-lock.yaml
!__tests__/data/yarn/package.json
!__tests__/data/yarn/yarn.lock