2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00
Files
axios/.github/workflows/lockfile-lint.yml
T
dependabot[bot] bd88727198 chore(deps): bump actions/setup-node in the github-actions group (#10813)
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 6.3.0 to 6.4.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/53b83947a5a98c8d113130e565377fae1a50d02f...48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-28 14:05:35 +02:00

48 lines
1.3 KiB
YAML

name: Lockfile lint
on:
pull_request:
paths:
- 'package.json'
- 'package-lock.json'
- '.github/workflows/lockfile-lint.yml'
push:
branches: [v1.x]
paths:
- 'package.json'
- 'package-lock.json'
permissions:
contents: read
jobs:
lockfile-lint:
name: Validate package-lock.json
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24.x
- name: Run lockfile-lint
# Validates that every resolved URL uses HTTPS on registry.npmjs.org
# and that every entry carries an integrity hash. Catches swap to a
# mirror, a git/file: URL, or integrity stripping on a dep-update PR.
# Pinned by name only (no lockfile-lint in devDependencies) so that a
# compromised dev tree cannot suppress this check.
run: >
npx --yes lockfile-lint@4.14.0
--type npm
--path package-lock.json
--validate-https
--allowed-hosts npm
--validate-integrity
--validate-package-names
--empty-hostname false