-
Notifications
You must be signed in to change notification settings - Fork 86
package-lock check adding #4086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Bojan131
wants to merge
16
commits into
v8/develop
Choose a base branch
from
package-lock-check
base: v8/develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a742b56
package-lock check adding
Bojan131 596c3f6
fixx bdd tests on github actions
Bojan131 c49ed12
fix bdd tests
Bojan131 ba575c5
fix bdd tests
Bojan131 8ab2ca6
fix bdd
Bojan131 54c80da
fix bdd tests
Bojan131 cb2333b
bdd tests
Bojan131 b876f35
fix bdd tests for github actions
Bojan131 2219d6f
fix bdd
Bojan131 48c48d6
improve package lock check
Bojan131 ad1009d
fix cursor bot improvements
Bojan131 2c0afe9
fix bugbot issue
Bojan131 cfea6b3
fix bugbot recommentations
Bojan131 25f7b00
fix github actions failing tests
Bojan131 b47c2ee
fix bugbot recommentadions
Bojan131 2aa0df9
fix bdd tests failing
Bojan131 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: Check Package Lock File | ||
|
|
||
| concurrency: | ||
| group: check-package-lock-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - "**" # Run on push to any branch | ||
| pull_request: | ||
| branches: | ||
| - "**" # Run on PR to any branch | ||
|
|
||
| jobs: | ||
| verify-package-lock: | ||
| name: Verify package-lock.json exists | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 5 | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Check if package-lock.json exists | ||
| run: | | ||
| if [ ! -f "package-lock.json" ]; then | ||
| echo "ERROR: package-lock.json file is missing from the repository" | ||
| echo "This file is required to ensure consistent dependency versions across all environments" | ||
| echo "Please ensure package-lock.json is committed with your changes" | ||
| exit 1 | ||
| fi | ||
| echo "SUCCESS: package-lock.json file is present" | ||
|
|
||
| - name: Verify package-lock.json is not empty | ||
| run: | | ||
| if [ ! -s "package-lock.json" ]; then | ||
| echo "ERROR: package-lock.json file exists but is empty" | ||
| echo "Please run 'npm install' to regenerate the lock file" | ||
| exit 1 | ||
| fi | ||
| echo "SUCCESS: package-lock.json file is valid and not empty" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.