pad.libre-service.eu-etherpad/.github/workflows/lint-package-lock.yml

20 lines
509 B
YAML
Raw Normal View History

2020-11-22 07:04:36 +01:00
name: "Lint package-lock.json"
# any branch is useful for testing before a PR is submitted
on: [push, pull_request]
jobs:
lint-package-lock:
name: Lint the package-lock.json file
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install lockfile-lint
run: npm install lockfile-lint
- name: Run lockfile-lint on package-lock.json
run: npx lockfile-lint --path src/package-lock.json --validate-https --allowed-hosts npm