Don’t git submodule in docker

This commit is contained in:
Eric Allam
2024-02-12 14:53:03 +00:00
parent baf3a84cda
commit 6be1099a12
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -20,6 +20,8 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: 🆚 Get the version
id: get_version
+1 -1
View File
@@ -32,7 +32,7 @@
"generate": "npm run protos",
"protos": "npm run submodule && npm run protos:generate",
"protos:generate": "./scripts/generate-protos.sh",
"submodule": "git submodule sync --recursive && git submodule update --init --recursive",
"submodule": "command -v git >/dev/null 2>&1 && git submodule sync --recursive && git submodule update --init --recursive || echo 'git not installed'",
"typecheck": "tsc --noEmit",
"test": "jest"
},