We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf46191 commit 35e9982Copy full SHA for 35e9982
.github/workflows/validate-npm-package-lock-json.yml
@@ -0,0 +1,30 @@
1
+name: Validate package-lock.json against source feeds
2
+
3
+on:
4
+ # Manual run
5
+ workflow_dispatch:
6
+ pull_request:
7
+ paths:
8
+ - 'package-lock.json'
9
10
+jobs:
11
+ validate-package-lock-json:
12
+ name: 'Validate package-lock.json against source feeds'
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+ submodules: false
21
22
+ - name: Set up Node.js
23
+ uses: actions/setup-node@v4
24
25
+ node-version: 20.x
26
27
+ - name: Run npm ci to validate package-lock.json against the feed
28
+ shell: pwsh
29
+ id: npm-install-script
30
+ run: npm ci --prefer-online --fetch-retries 5
0 commit comments