Skip to content

Bump knip from 2.41.3 to 2.43.0 (#1310) #388

Bump knip from 2.41.3 to 2.43.0 (#1310)

Bump knip from 2.41.3 to 2.43.0 (#1310) #388

Workflow file for this run

name: Config npm
on:
pull_request:
paths:
- .github/workflows/config-npm.yml
- package.json
push:
branches:
- main
- main-v1
paths:
- .github/workflows/config-npm.yml
- package.json
permissions: read-all
jobs:
package-json:
name: package.json
runs-on: ubuntu-22.04
steps:
- name: Harden runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
actions-results-receiver-production.githubapp.com:443
api.github.com:443
artifactcache.actions.githubusercontent.com:443
github.com:443
gitlab.com:443
nodejs.org:443
objects.githubusercontent.com:443
registry.npmjs.org:443
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
cache: npm
node-version-file: .nvmrc
- name: Install dependencies
run: npm clean-install
- name: Validate package.json
run: npm run vet:package.json