Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
sudo apt-get install git-lfs
git lfs install
- name: Verify single lockfile
run: |
if [ -f package-lock.json ] && [ -f yarn.lock ]; then
echo "ERROR: Both lockfiles exist"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package-lock.json OR yarn.lock are mandatory, workflow should fail if those files are not present. Please add one more condition for this.

exit 1
fi
- name: Use Node.js 22.11.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ jobs:
fetch-depth: 0
lfs: true # Ensure LFS files are checked out

# VERIFY SINGLE LOCKFILE
- name: Verify single lockfile
run: |
if [ -f package-lock.json ] && [ -f yarn.lock ]; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package-lock.json OR yarn.lock are mandatory, workflow should fail if those files are not present. Please add one more condition for this.

echo "ERROR: Both lockfiles exist"
exit 1
fi
# GIT CONFIGURATION
- run: |
git config user.name github-actions
Expand Down
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Default registry for most packages
registry=https://npm.echohq.com/

ignore-scripts=true
Loading