Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update

Manav Rathi82c7d1865c77
diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml
index d6f34a4936..0e586ba073 100644
--- a/.github/workflows/web-deploy.yml
+++ b/.github/workflows/web-deploy.yml
@@ -48,9 +48,8 @@ jobs:
- name: Audit dependencies
run: |
- yarn audit --level critical
- exit_code=$?
- if [ $exit_code -ge 16 ]; then
+ yarn audit --level critical || exit_code=$?
+ if [[ $exit_code -ge 16 ]]; then
echo "::error::Yarn audit found critical issues"
exit 1
fi
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index ad7a237a47..8bab3f4e77 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -40,9 +40,8 @@ jobs:
- name: Audit dependencies
run: |
- yarn audit --level critical
- exit_code=$?
- if [ $exit_code -ge 16 ]; then
+ yarn audit --level critical || exit_code=$?
+ if [[ $exit_code -ge 16 ]]; then
echo "::error::Yarn audit found critical issues"
exit 1
fi