mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-30 12:19:13 -04:00
add github workflows
This commit is contained in:
parent
776eda2d4e
commit
c0baf05ee8
7 changed files with 246 additions and 0 deletions
19
.github/workflows/lint-package-lock.yml
vendored
Normal file
19
.github/workflows/lint-package-lock.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue