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.
2 parents 805b8f3 + d4d2d62 commit ebf31d4Copy full SHA for ebf31d4
.github/workflows/ci.yml
@@ -74,6 +74,22 @@ jobs:
74
# Instead, fail if there's a security issue.
75
advanced-security: false
76
77
+ npm-install:
78
+ name: Lockfile up-to-date
79
+ runs-on: ubuntu-24.04
80
+ steps:
81
+ - name: Checkout repository
82
+ uses: actions/checkout@v4
83
+ with:
84
+ persist-credentials: false
85
+
86
+ - name: Check if package-lock.json is up-to-date
87
+ run: |
88
+ npm install
89
90
+ # Assert that the git diff is empty.
91
+ git diff --exit-code || (echo "Git diff is not empty. Please run 'npm install' and commit the changes." && exit 1)
92
93
package:
94
name: Package
95
runs-on: ubuntu-24.04
@@ -184,6 +200,7 @@ jobs:
184
200
- format
185
201
- zizmor
186
202
- package
203
+ - npm-install
187
204
- rustfmt
188
205
- action-test
189
206
- clippy
0 commit comments