Fetch dynamically on lint

This commit is contained in:
Adria Navarro 2023-06-29 10:39:09 +01:00
parent e7a9936b20
commit 24b17be1d2
1 changed files with 7 additions and 1 deletions

View File

@ -27,8 +27,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch pro submodule if running in BB
run: |
if [ "$GITHUB_REPOSITORY" = "Budibase/budibase" ]; then
git submodule update --init --recursive
else
echo "Submodule fetch skipped."
fi
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
uses: actions/setup-node@v3